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.001807/0.001807, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002251/0.002251, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.1861/0.1861, allocations: 38.53 MB / 352.5 MB, free: 12.55 MB / 286.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",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.002427/0.002427, allocations: 59.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3286, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009359/0.3379, allocations: 7.755 MB / 0.5496 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.344, allocations: 4.245 MB / 0.5537 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.3444, allocations: 16.91 kB / 0.5537 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.347, allocations: 1.075 MB / 0.5548 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.3496, allocations: 1.108 MB / 0.5559 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.3504, allocations: 304.2 kB / 0.5562 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.3521, allocations: 1.373 MB / 0.5575 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.3528, allocations: 402.9 kB / 0.5579 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.3537, allocations: 0.582 MB / 0.5585 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009039/0.3546, allocations: 0.6384 MB / 0.5591 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.3547, allocations: 36 kB / 0.5591 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.3564, allocations: 1.028 MB / 0.5601 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.3567, allocations: 279.1 kB / 0.5604 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.357, allocations: 250.8 kB / 0.5606 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3582, allocations: 0.8136 MB / 0.5614 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3582, allocations: 0 / 0.5614 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3582, allocations: 0 / 0.5614 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3582, allocations: 0 / 0.5614 GB, free: 0.6094 MB / 398.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.001158/0.3593, allocations: 0.7492 MB / 0.5622 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3594, allocations: 11.98 kB / 0.5622 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.3595, allocations: 78.7 kB / 0.5622 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.361, allocations: 140.5 kB / 0.5624 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.3615, allocations: 284.6 kB / 0.5626 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.3616, allocations: 29.36 kB / 0.5627 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.3616, allocations: 40.38 kB / 0.5627 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.3625, allocations: 0.5867 MB / 0.5633 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3625, allocations: 0 / 0.5633 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.3626, allocations: 19.97 kB / 0.5633 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.3626, allocations: 36.64 kB / 0.5633 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.3632, allocations: 382.1 kB / 0.5637 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.3661, allocations: 2.552 MB / 0.5662 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.3668, allocations: 411.8 kB / 0.5666 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3671, allocations: 186.5 kB / 0.5668 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3671, allocations: 7.938 kB / 0.5668 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.3672, allocations: 42.55 kB / 0.5668 GB, free: 10.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.3672, allocations: 0 / 0.5668 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001709/0.3689, allocations: 0.6778 MB / 0.5675 GB, free: 10.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.3689, allocations: 110.8 kB / 0.5676 GB, free: 9.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.3693, allocations: 316.6 kB / 0.5679 GB, free: 9.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3693, allocations: 33.7 kB / 0.5679 GB, free: 9.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3695, allocations: 260.6 kB / 0.5682 GB, free: 9.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3696, allocations: 123 kB / 0.5683 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3697, allocations: 78.09 kB / 0.5684 GB, free: 9.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3699, allocations: 350.7 kB / 0.5687 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.3701, allocations: 128.8 kB / 0.5688 GB, free: 8.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.3704, allocations: 279.4 kB / 0.5691 GB, free: 8.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.371, allocations: 460.1 kB / 0.5695 GB, free: 7.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.371, allocations: 4 kB / 0.5695 GB, free: 7.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009176/0.372, allocations: 0.5502 MB / 0.5701 GB, free: 7.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.372, allocations: 8.625 kB / 0.5701 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.372, allocations: 19.92 kB / 0.5701 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.3723, allocations: 124.8 kB / 0.5702 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3726, allocations: 67.91 kB / 0.5703 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.3755, allocations: 2.456 MB / 0.5727 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3757, allocations: 51.56 kB / 0.5727 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3758, allocations: 16 kB / 0.5727 GB, free: 4.383 MB / 414.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.0002641/0.376, allocations: 193.7 kB / 0.5729 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.3761, allocations: 43.75 kB / 0.573 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3762, allocations: 43.95 kB / 0.573 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3762, allocations: 4 kB / 0.573 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.3762, allocations: 12 kB / 0.573 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3762, allocations: 0 / 0.573 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.3777, allocations: 0.9179 MB / 0.5739 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3777, allocations: 4 kB / 0.5739 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3778, allocations: 39.98 kB / 0.574 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.3781, allocations: 104.8 kB / 0.5741 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3781, allocations: 8 kB / 0.5741 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.3809, allocations: 2.455 MB / 0.5765 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3809, allocations: 3.984 kB / 0.5765 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.3817, allocations: 0.6267 MB / 0.5771 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.3818, allocations: 43.64 kB / 0.5771 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.3818, allocations: 15.92 kB / 0.5771 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.382, allocations: 4 kB / 0.5771 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.3821, allocations: 31.89 kB / 0.5772 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3821, allocations: 4 kB / 0.5772 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.3823, allocations: 231 kB / 0.5774 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3823, allocations: 0 / 0.5774 GB, free: 15.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007203/0.383, allocations: 155.8 kB / 0.5775 GB, free: 15.23 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.001107/0.3841, allocations: 1.149 MB / 0.5787 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009023/0.385, allocations: 0.5219 MB / 0.5792 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.385, allocations: 0 / 0.5792 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.3855, allocations: 327.6 kB / 0.5795 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.3861, allocations: 68.78 kB / 0.5796 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.3915, allocations: 3.998 MB / 0.5835 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.3921, allocations: 0.8785 MB / 0.5843 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.3923, allocations: 70.91 kB / 0.5844 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3925, allocations: 115.4 kB / 0.5845 GB, free: 7.793 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3925, allocations: 4 kB / 0.5845 GB, free: 7.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.432, allocations: 8.076 MB / 0.5924 GB, free: 15.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.55, allocations: 0 / 0.5924 GB, free: 15.83 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.304959696019068] Failed to read output from testmodel.py, exit status != 0: 12.666406498057768 12.695655266 12.331634483 Calling exit ...