Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.001395/0.001395, allocations: 113.1 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.001584/0.001584, allocations: 217.2 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.485/1.485, 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.1881/0.1881, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.002096/0.002096, allocations: 63.89 kB / 492.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3592, allocations: 62.47 MB / 0.542 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005535/0.3647, allocations: 3.603 MB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.3672, allocations: 1.583 MB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.3674, allocations: 17.66 kB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.3683, allocations: 267.2 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007401/0.369, allocations: 286.4 kB / 0.5476 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.3695, allocations: 126.9 kB / 0.5477 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000548/0.37, allocations: 344.2 kB / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.3704, allocations: 123.7 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.3707, allocations: 168.8 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.3711, allocations: 162.3 kB / 0.5485 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.3711, allocations: 18.36 kB / 0.5485 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.3717, allocations: 332.3 kB / 0.5488 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3718, allocations: 105.8 kB / 0.5489 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.372, allocations: 114 kB / 0.549 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.3725, allocations: 351.9 kB / 0.5494 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3725, allocations: 0 / 0.5494 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3725, allocations: 4 kB / 0.5494 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3725, allocations: 0 / 0.5494 GB, free: 10.85 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007632/0.3733, allocations: 463.1 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3733, allocations: 14.36 kB / 0.5498 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/0.3734, allocations: 50.11 kB / 0.5499 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009576/0.3744, allocations: 109.6 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.3747, allocations: 214.8 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3748, allocations: 11.06 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.3748, allocations: 20.11 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.3754, allocations: 336.3 kB / 0.5505 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3754, allocations: 1.5 kB / 0.5505 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.3754, allocations: 13.55 kB / 0.5505 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.3755, allocations: 17.17 kB / 0.5506 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.376, allocations: 313.2 kB / 0.5509 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.3779, allocations: 1.217 MB / 0.552 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3782, allocations: 148.5 kB / 0.5522 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3783, allocations: 98.2 kB / 0.5523 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3784, allocations: 9.297 kB / 0.5523 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.3784, allocations: 36.78 kB / 0.5523 GB, free: 8.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.3784, allocations: 3.938 kB / 0.5523 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001559/0.38, allocations: 0.5878 MB / 0.5529 GB, free: 8.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.38, allocations: 83.23 kB / 0.553 GB, free: 8.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3803, allocations: 188.5 kB / 0.5532 GB, free: 7.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3803, allocations: 30.98 kB / 0.5532 GB, free: 7.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3804, allocations: 167.3 kB / 0.5534 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3805, allocations: 60.05 kB / 0.5534 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.3806, allocations: 47.41 kB / 0.5535 GB, free: 7.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3808, allocations: 327.3 kB / 0.5538 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.381, allocations: 81.58 kB / 0.5538 GB, free: 7.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3812, allocations: 155.1 kB / 0.554 GB, free: 7.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.3816, allocations: 256.1 kB / 0.5542 GB, free: 6.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3816, allocations: 0 / 0.5542 GB, free: 6.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006831/0.3823, allocations: 352 kB / 0.5546 GB, free: 6.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3823, allocations: 5.875 kB / 0.5546 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3823, allocations: 2.531 kB / 0.5546 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.3827, allocations: 88.53 kB / 0.5547 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3829, allocations: 41.62 kB / 0.5547 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.3861, allocations: 2.069 MB / 0.5567 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3863, allocations: 9.141 kB / 0.5567 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.3863, allocations: 12.66 kB / 0.5567 GB, free: 4.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.3865, allocations: 156.8 kB / 0.5569 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.3866, allocations: 16.5 kB / 0.5569 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006894/0.3873, allocations: 326 kB / 0.5572 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3873, allocations: 4 kB / 0.5572 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3873, allocations: 3.938 kB / 0.5572 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3873, allocations: 0 / 0.5572 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.3886, allocations: 0.7182 MB / 0.5579 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3886, allocations: 0 / 0.5579 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3887, allocations: 23.98 kB / 0.558 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/0.389, allocations: 84.72 kB / 0.558 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.389, allocations: 7.984 kB / 0.558 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.3911, allocations: 1.933 MB / 0.5599 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3911, allocations: 0 / 0.5599 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.3917, allocations: 410.7 kB / 0.5603 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3918, allocations: 23.8 kB / 0.5603 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3918, allocations: 11.98 kB / 0.5604 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3919, allocations: 4 kB / 0.5604 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.392, allocations: 19.91 kB / 0.5604 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.392, allocations: 8 kB / 0.5604 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3921, allocations: 143.1 kB / 0.5605 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3921, allocations: 0 / 0.5605 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.3926, allocations: 68 kB / 0.5606 GB, free: 0.8125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.3937, allocations: 0.9409 MB / 0.5615 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007589/0.3945, allocations: 377.9 kB / 0.5619 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3945, allocations: 0 / 0.5619 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.3949, allocations: 246.5 kB / 0.5621 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3953, allocations: 31.98 kB / 0.5621 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.3993, allocations: 2.642 MB / 0.5647 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.3998, allocations: 0.7712 MB / 0.5655 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3999, allocations: 33.62 kB / 0.5655 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4, allocations: 63.41 kB / 0.5656 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4, allocations: 0 / 0.5656 GB, free: 11.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.4371, allocations: 5.61 MB / 0.571 GB, free: 5.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.19, allocations: 0 / 0.571 GB, free: 5.98 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.107027765130624] Failed to read output from testmodel.py, exit status != 0: 13.310685747070238 13.341425971 12.963305653 Calling exit ...