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.001616/0.001616, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002169/0.002169, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.577/1.577, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.1879/0.1879, allocations: 38.51 MB / 353.2 MB, free: 12.57 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="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.002002/0.002002, allocations: 59.91 kB / 493.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3271, allocations: 62.47 MB / 0.5428 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01014/0.3372, allocations: 7.748 MB / 0.5503 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00639/0.3436, allocations: 4.246 MB / 0.5545 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005426/0.3442, allocations: 20.88 kB / 0.5545 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.347, allocations: 1.07 MB / 0.5556 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.35, allocations: 1.104 MB / 0.5566 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.351, allocations: 316 kB / 0.5569 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.3535, allocations: 1.366 MB / 0.5583 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3546, allocations: 410.1 kB / 0.5587 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.3562, allocations: 0.5741 MB / 0.5592 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.3575, allocations: 0.65 MB / 0.5599 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.3576, allocations: 32 kB / 0.5599 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.3599, allocations: 1.025 MB / 0.5609 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.3603, allocations: 279.2 kB / 0.5612 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.3608, allocations: 250.8 kB / 0.5614 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.3629, allocations: 0.8136 MB / 0.5622 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3629, allocations: 0 / 0.5622 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3629, allocations: 0 / 0.5622 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.3629, allocations: 0 / 0.5622 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.001493/0.3644, allocations: 0.7453 MB / 0.5629 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3645, allocations: 11.98 kB / 0.5629 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.199e-05/0.3645, allocations: 13.19 kB / 0.5629 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.3646, allocations: 82.69 kB / 0.563 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.3663, allocations: 140.5 kB / 0.5632 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.3669, allocations: 276.7 kB / 0.5634 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.367, allocations: 33.36 kB / 0.5634 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.3671, allocations: 36.38 kB / 0.5635 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/0.368, allocations: 0.5904 MB / 0.5641 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.368, allocations: 7.938 kB / 0.5641 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.368, allocations: 15.98 kB / 0.5641 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-05/0.3681, allocations: 36.62 kB / 0.5641 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.3688, allocations: 386.1 kB / 0.5645 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.3722, allocations: 2.548 MB / 0.567 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/0.373, allocations: 411.7 kB / 0.5674 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.3735, allocations: 194.5 kB / 0.5676 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3735, allocations: 8 kB / 0.5676 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.3735, allocations: 38.56 kB / 0.5676 GB, free: 10.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 5.64e-06/0.3735, allocations: 0 / 0.5676 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001976/0.3755, allocations: 0.6778 MB / 0.5683 GB, free: 10.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.3756, allocations: 106.8 kB / 0.5684 GB, free: 9.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.3762, allocations: 324.5 kB / 0.5687 GB, free: 9.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3762, allocations: 29.95 kB / 0.5687 GB, free: 9.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.3764, allocations: 260.3 kB / 0.5689 GB, free: 9.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.3765, allocations: 126.9 kB / 0.5691 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3767, allocations: 86.09 kB / 0.5692 GB, free: 9.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3768, allocations: 342.8 kB / 0.5695 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.3771, allocations: 132.7 kB / 0.5696 GB, free: 8.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.3775, allocations: 283.4 kB / 0.5699 GB, free: 8.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.3781, allocations: 456.1 kB / 0.5703 GB, free: 7.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.3781, allocations: 3.938 kB / 0.5703 GB, free: 7.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001107/0.3792, allocations: 0.5507 MB / 0.5709 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.3793, allocations: 14.91 kB / 0.5709 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3793, allocations: 7.984 kB / 0.5709 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/0.3797, allocations: 116.8 kB / 0.571 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.38, allocations: 79.84 kB / 0.5711 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.3831, allocations: 2.452 MB / 0.5735 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.3834, allocations: 47.62 kB / 0.5735 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3834, allocations: 20 kB / 0.5735 GB, free: 4.367 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.0003484/0.3838, allocations: 193.7 kB / 0.5737 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.3839, allocations: 35.77 kB / 0.5737 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.384, allocations: 51.95 kB / 0.5738 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.384, allocations: 8.062 kB / 0.5738 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/0.384, allocations: 7.938 kB / 0.5738 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3841, allocations: 3.984 kB / 0.5738 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.3857, allocations: 0.914 MB / 0.5747 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.3857, allocations: 8.062 kB / 0.5747 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3859, allocations: 35.98 kB / 0.5747 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.3862, allocations: 104.8 kB / 0.5748 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.3862, allocations: 8 kB / 0.5748 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.3891, allocations: 2.448 MB / 0.5772 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.3891, allocations: 11.91 kB / 0.5773 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.39, allocations: 0.6189 MB / 0.5779 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3901, allocations: 51.56 kB / 0.5779 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.3901, allocations: 4 kB / 0.5779 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.3903, allocations: 8 kB / 0.5779 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3904, allocations: 23.95 kB / 0.5779 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3904, allocations: 16 kB / 0.578 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.3907, allocations: 219 kB / 0.5782 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3907, allocations: 0 / 0.5782 GB, free: 15.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007532/0.3914, allocations: 159.8 kB / 0.5783 GB, free: 15.22 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.001185/0.3926, allocations: 1.149 MB / 0.5794 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009926/0.3936, allocations: 0.5179 MB / 0.5799 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3936, allocations: 5.25 kB / 0.5799 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.3941, allocations: 334.5 kB / 0.5803 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.3947, allocations: 57.03 kB / 0.5803 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/0.4002, allocations: 3.994 MB / 0.5842 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.4008, allocations: 0.8863 MB / 0.5851 GB, free: 7.965 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.401, allocations: 66.91 kB / 0.5852 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.4012, allocations: 115.4 kB / 0.5853 GB, free: 7.789 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4012, allocations: 0 / 0.5853 GB, free: 7.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.4358, allocations: 8.111 MB / 0.5932 GB, free: 15.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.38, allocations: 10.97 kB / 0.5932 GB, free: 15.8 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.464787890028674] Failed to read output from testmodel.py, exit status != 0: 12.556961217022035 12.583503006 12.215552395 Calling exit ...