Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8755/0.8755, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2183/0.2183, allocations: 29.4 MB / 290.1 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.711e-05, allocations: 10.28 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.004618/0.004635, allocations: 5.793 MB / 436 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.006901, allocations: 1.877 MB / 437.9 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.00722, allocations: 35.69 kB / 437.9 MB, free: 5.883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.008233, allocations: 0.6768 MB / 438.6 MB, free: 5.203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.008905, allocations: 401.6 kB / 439 MB, free: 4.809 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.009638, allocations: 418.7 kB / 439.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.01038, allocations: 0.9509 MB / 440.3 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.01087, allocations: 396.3 kB / 440.7 MB, free: 3.043 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005477/0.01141, allocations: 0.5802 MB / 441.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004184/0.01183, allocations: 0.5026 MB / 441.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.01189, allocations: 56 kB / 441.8 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.0122, allocations: 247.5 kB / 442.1 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.01244, allocations: 442.9 kB / 442.5 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.01264, allocations: 295.3 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1539/0.1666, allocations: 1.04 MB / 443.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1666, allocations: 0 / 443.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1666, allocations: 1.938 kB / 443.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.416e-05/0.1666, allocations: 0 / 443.8 MB, free: 45.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001306/0.1679, allocations: 1.015 MB / 444.9 MB, free: 44.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.168, allocations: 13.48 kB / 444.9 MB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.721e-05/0.1681, allocations: 133.9 kB / 445 MB, free: 44.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.1686, allocations: 208.6 kB / 445.2 MB, free: 44.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.1692, allocations: 488.3 kB / 445.7 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.1692, allocations: 57.44 kB / 445.7 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.1693, allocations: 79 kB / 445.8 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008699/0.1702, allocations: 1.131 MB / 446.9 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.1702, allocations: 8.766 kB / 447 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.1702, allocations: 36.91 kB / 447 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.1703, allocations: 47.17 kB / 447 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.171, allocations: 0.8609 MB / 447.9 MB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.1736, allocations: 4.811 MB / 452.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.174, allocations: 393.6 kB / 453.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1741, allocations: 194.7 kB / 453.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1741, allocations: 13.42 kB / 453.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.1742, allocations: 44.12 kB / 453.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/0.1742, allocations: 0 / 453.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001087/0.1752, allocations: 1.077 MB / 454.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1753, allocations: 83.58 kB / 454.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1756, allocations: 0.5166 MB / 455 MB, free: 40.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1756, allocations: 33.14 kB / 455.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1757, allocations: 462.4 kB / 455.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.1758, allocations: 162.1 kB / 455.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1759, allocations: 159.3 kB / 455.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.1759, allocations: 369.7 kB / 456.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.1761, allocations: 239.3 kB / 456.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.1764, allocations: 0.6089 MB / 457 MB, free: 38.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/0.177, allocations: 0.9465 MB / 458 MB, free: 37.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.177, allocations: 8.781 kB / 458 MB, free: 37.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007439/0.1777, allocations: 0.8909 MB / 458.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1777, allocations: 11.41 kB / 458.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1778, allocations: 20.77 kB / 458.9 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.1778, allocations: 19.38 kB / 458.9 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.1781, allocations: 218.2 kB / 459.1 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.1782, allocations: 25.58 kB / 459.2 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.1784, allocations: 51.75 kB / 459.2 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.1784, allocations: 42.81 kB / 459.2 MB, free: 37.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.1786, allocations: 310.9 kB / 459.6 MB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.1787, allocations: 59 kB / 459.6 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.1792, allocations: 0.5634 MB / 460.2 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1792, allocations: 3.125 kB / 460.2 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1792, allocations: 3.312 kB / 460.2 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1792, allocations: 0 / 460.2 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1803, allocations: 1.258 MB / 461.4 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1803, allocations: 3.219 kB / 461.4 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.1805, allocations: 111.2 kB / 461.5 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1806, allocations: 3.281 kB / 461.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1806, allocations: 17.86 kB / 461.6 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1806, allocations: 6.75 kB / 461.6 MB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1806, allocations: 7.094 kB / 461.6 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.181, allocations: 0.6423 MB / 462.2 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.181, allocations: 54.69 kB / 462.3 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1811, allocations: 18.28 kB / 462.3 MB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1812, allocations: 20.77 kB / 462.3 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1812, allocations: 40.56 kB / 462.4 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1812, allocations: 18.41 kB / 462.4 MB, free: 36.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1814, allocations: 332.5 kB / 462.7 MB, free: 36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1814, allocations: 0 / 462.7 MB, free: 36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00042/0.1818, allocations: 162.3 kB / 462.9 MB, free: 35.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005055/0.1824, allocations: 1.189 MB / 464 MB, free: 35.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.1829, allocations: 0.5894 MB / 464.6 MB, free: 34.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1829, allocations: 0 / 464.6 MB, free: 34.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.183, allocations: 220.5 kB / 464.8 MB, free: 34.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1835, allocations: 124.3 kB / 465 MB, free: 34.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.1871, allocations: 5.766 MB / 470.7 MB, free: 31.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1874, allocations: 400.7 kB / 471.1 MB, free: 31.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000303/0.1877, allocations: 228.9 kB / 471.4 MB, free: 31.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.1878, allocations: 260.3 kB / 471.6 MB, free: 30.89 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1878, allocations: 0 / 471.6 MB, free: 30.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.2109, allocations: 12.36 MB / 484 MB, free: 29.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/6.928, allocations: 1.375 kB / 484 MB, free: 29.15 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Units_fmu --startTime=0 --stopTime=0.1 --stepSize=4e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Units.fmu > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.710314707830548] Failed to read output from testmodel.py, exit status != 0: 7.011430843733251 7.019663589 6.851421749 Calling exit ...