Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001397/0.001397, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001548/0.001548, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.1896/0.1896, allocations: 38.5 MB / 349.4 MB, free: 2.617 MB / 270.1 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.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 73.42 kB / 487.9 MB, free: 32.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1281, allocations: 62.42 MB / 0.5374 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01023/0.1383, allocations: 7.655 MB / 0.5448 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006894/0.1452, allocations: 4.226 MB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.1459, allocations: 15.94 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.1487, allocations: 1.047 MB / 0.55 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.1515, allocations: 1.109 MB / 0.5511 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.1524, allocations: 307.2 kB / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.1543, allocations: 1.367 MB / 0.5527 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007579/0.155, allocations: 364 kB / 0.5531 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.1562, allocations: 0.5718 MB / 0.5536 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009141/0.1571, allocations: 0.6539 MB / 0.5543 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.1572, allocations: 36 kB / 0.5543 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.159, allocations: 1.017 MB / 0.5553 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.1594, allocations: 291.1 kB / 0.5556 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.1597, allocations: 242.9 kB / 0.5558 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.161, allocations: 0.8135 MB / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.161, allocations: 0 / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.161, allocations: 0 / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.1611, allocations: 7.938 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001249/0.1623, allocations: 0.8183 MB / 0.5574 GB, free: 4.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1623, allocations: 12.03 kB / 0.5574 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.1624, allocations: 9.188 kB / 0.5574 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.39e-05/0.1625, allocations: 82.7 kB / 0.5575 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.164, allocations: 132.5 kB / 0.5576 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.1646, allocations: 334.7 kB / 0.558 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.1646, allocations: 33.36 kB / 0.558 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1647, allocations: 40.36 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.1655, allocations: 0.5852 MB / 0.5586 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1656, allocations: 3.938 kB / 0.5586 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.1656, allocations: 23.98 kB / 0.5586 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.327e-05/0.1657, allocations: 32.62 kB / 0.5587 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.1663, allocations: 382.1 kB / 0.559 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.1689, allocations: 2.604 MB / 0.5616 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.1696, allocations: 411.7 kB / 0.562 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.1699, allocations: 190.6 kB / 0.5621 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.17, allocations: 4 kB / 0.5621 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.17, allocations: 42.5 kB / 0.5622 GB, free: 15.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.17, allocations: 7.938 kB / 0.5622 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.001851/0.1718, allocations: 0.7658 MB / 0.5629 GB, free: 14.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.1719, allocations: 110.8 kB / 0.563 GB, free: 14.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.1724, allocations: 320.6 kB / 0.5633 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1724, allocations: 33.7 kB / 0.5634 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.1727, allocations: 252.4 kB / 0.5636 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1728, allocations: 123 kB / 0.5637 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1729, allocations: 82.16 kB / 0.5638 GB, free: 13.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1731, allocations: 346.8 kB / 0.5641 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1733, allocations: 124.8 kB / 0.5643 GB, free: 13.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1736, allocations: 283.4 kB / 0.5645 GB, free: 13.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.1743, allocations: 460.1 kB / 0.565 GB, free: 12.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1743, allocations: 3.938 kB / 0.565 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008883/0.1752, allocations: 0.5503 MB / 0.5655 GB, free: 12.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1752, allocations: 8 kB / 0.5655 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1752, allocations: 4 kB / 0.5655 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/0.1756, allocations: 133.3 kB / 0.5656 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1758, allocations: 75.84 kB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.1788, allocations: 2.552 MB / 0.5682 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.179, allocations: 47.62 kB / 0.5683 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.179, allocations: 24.06 kB / 0.5683 GB, free: 9.078 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003403/0.1794, allocations: 209.5 kB / 0.5685 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.1795, allocations: 35.77 kB / 0.5685 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1796, allocations: 51.94 kB / 0.5686 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1796, allocations: 4 kB / 0.5686 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.1796, allocations: 7.938 kB / 0.5686 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1796, allocations: 3.984 kB / 0.5686 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.181, allocations: 0.9422 MB / 0.5695 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.181, allocations: 3.938 kB / 0.5695 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1812, allocations: 35.98 kB / 0.5695 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/0.1815, allocations: 116.9 kB / 0.5697 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.1815, allocations: 8 kB / 0.5697 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.1845, allocations: 2.544 MB / 0.5721 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1845, allocations: 0 / 0.5721 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.1854, allocations: 0.6345 MB / 0.5728 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1856, allocations: 124.7 kB / 0.5729 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.1856, allocations: 11.94 kB / 0.5729 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1858, allocations: 8 kB / 0.5729 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.1858, allocations: 23.97 kB / 0.5729 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.1859, allocations: 8 kB / 0.5729 GB, free: 4.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1861, allocations: 223 kB / 0.5731 GB, free: 3.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1861, allocations: 0 / 0.5731 GB, free: 3.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007528/0.1869, allocations: 163.8 kB / 0.5733 GB, free: 3.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.1881, allocations: 1.159 MB / 0.5744 GB, free: 2.465 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.189, allocations: 0.5067 MB / 0.5749 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.189, allocations: 0 / 0.5749 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.1895, allocations: 330.3 kB / 0.5752 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.1901, allocations: 62.34 kB / 0.5753 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.1958, allocations: 4.003 MB / 0.5792 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.1965, allocations: 0.8824 MB / 0.5801 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.1967, allocations: 74.89 kB / 0.5801 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.1968, allocations: 111.4 kB / 0.5802 GB, free: 12.21 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1968, allocations: 0 / 0.5802 GB, free: 12.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.2291, allocations: 7.754 MB / 0.5878 GB, free: 4.586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.76, allocations: 16.27 kB / 0.5878 GB, free: 4.574 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.845048091025092] Failed to read output from testmodel.py, exit status != 0: 10.90381161897676 10.916658631 10.752617889 Calling exit ...