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.001416/0.001416, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001869/0.001869, allocations: 212 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2314/0.2314, allocations: 38.55 MB / 352.5 MB, free: 12.4 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.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: 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.002164/0.002164, allocations: 67.91 kB / 492.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 62.48 MB / 0.5419 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008281/0.3659, allocations: 5.826 MB / 0.5476 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.3698, allocations: 1.881 MB / 0.5495 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.3701, allocations: 30.09 kB / 0.5495 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.372, allocations: 0.6754 MB / 0.5501 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.373, allocations: 387.5 kB / 0.5505 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3743, allocations: 399 kB / 0.5509 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3755, allocations: 0.9529 MB / 0.5518 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.3762, allocations: 385.5 kB / 0.5522 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.3769, allocations: 457.8 kB / 0.5526 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008685/0.3778, allocations: 0.5459 MB / 0.5532 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-05/0.3779, allocations: 57.5 kB / 0.5532 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.3785, allocations: 242.7 kB / 0.5534 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.3789, allocations: 422.8 kB / 0.5539 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.3793, allocations: 356.9 kB / 0.5542 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3807, allocations: 1.041 MB / 0.5552 GB, free: 6.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3807, allocations: 0 / 0.5552 GB, free: 6.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3807, allocations: 0 / 0.5552 GB, free: 6.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3808, allocations: 0 / 0.5552 GB, free: 6.613 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002019/0.3828, allocations: 1.022 MB / 0.5562 GB, free: 5.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.705e-05/0.3829, allocations: 11.98 kB / 0.5562 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.383, allocations: 139.2 kB / 0.5563 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.384, allocations: 208.2 kB / 0.5565 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.3851, allocations: 486.1 kB / 0.557 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.3852, allocations: 66.36 kB / 0.5571 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.3853, allocations: 79.92 kB / 0.5572 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.387, allocations: 1.126 MB / 0.5583 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.387, allocations: 7.922 kB / 0.5583 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.3871, allocations: 36 kB / 0.5583 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.53e-05/0.3872, allocations: 49.98 kB / 0.5583 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.3886, allocations: 0.8545 MB / 0.5592 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006003/0.3947, allocations: 4.827 MB / 0.5639 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.3954, allocations: 385.3 kB / 0.5643 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.3957, allocations: 197.6 kB / 0.5644 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.3957, allocations: 12 kB / 0.5645 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.3958, allocations: 34.56 kB / 0.5645 GB, free: 12.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.3958, allocations: 0 / 0.5645 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002125/0.3979, allocations: 1.089 MB / 0.5656 GB, free: 11.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.398, allocations: 85.11 kB / 0.5656 GB, free: 11.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.3986, allocations: 0.5094 MB / 0.5661 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.3986, allocations: 33.7 kB / 0.5662 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.399, allocations: 467.2 kB / 0.5666 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3991, allocations: 162.6 kB / 0.5668 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3993, allocations: 162.7 kB / 0.5669 GB, free: 10.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3995, allocations: 370.7 kB / 0.5673 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.3999, allocations: 241.8 kB / 0.5675 GB, free: 9.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.4006, allocations: 0.6168 MB / 0.5681 GB, free: 8.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.4019, allocations: 0.9377 MB / 0.569 GB, free: 7.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4019, allocations: 4 kB / 0.569 GB, free: 7.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001406/0.4033, allocations: 0.8958 MB / 0.5699 GB, free: 6.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.4033, allocations: 12 kB / 0.5699 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.4033, allocations: 12 kB / 0.5699 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/0.4033, allocations: 20 kB / 0.5699 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.4041, allocations: 224.3 kB / 0.5702 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.004e-05/0.4041, allocations: 23.92 kB / 0.5702 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.4045, allocations: 55.91 kB / 0.5702 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.4046, allocations: 44 kB / 0.5703 GB, free: 6.336 MB / 414.1 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.0004362/0.405, allocations: 309.6 kB / 0.5706 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.4051, allocations: 55.62 kB / 0.5706 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009906/0.4061, allocations: 0.5563 MB / 0.5712 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4061, allocations: 15.94 kB / 0.5712 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4061, allocations: 0 / 0.5712 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.4062, allocations: 3.984 kB / 0.5712 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.4084, allocations: 1.262 MB / 0.5724 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4084, allocations: 4 kB / 0.5724 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.4088, allocations: 112.1 kB / 0.5725 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.4089, allocations: 11.94 kB / 0.5725 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.4089, allocations: 8 kB / 0.5725 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.4089, allocations: 4 kB / 0.5726 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4089, allocations: 7.938 kB / 0.5726 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.4098, allocations: 0.6421 MB / 0.5732 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.4099, allocations: 63.55 kB / 0.5732 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.41, allocations: 12 kB / 0.5733 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.4102, allocations: 19.92 kB / 0.5733 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.4103, allocations: 39.72 kB / 0.5733 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.4103, allocations: 20 kB / 0.5733 GB, free: 3.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003979/0.4107, allocations: 330.8 kB / 0.5736 GB, free: 2.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4107, allocations: 0 / 0.5736 GB, free: 2.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000725/0.4114, allocations: 160 kB / 0.5738 GB, free: 2.59 MB / 414.1 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.001285/0.4127, allocations: 1.202 MB / 0.575 GB, free: 1.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4139, allocations: 0.5797 MB / 0.5755 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4139, allocations: 0 / 0.5755 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.4142, allocations: 231.5 kB / 0.5758 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.415, allocations: 127.9 kB / 0.5759 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.4231, allocations: 5.796 MB / 0.5815 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.4236, allocations: 406.9 kB / 0.5819 GB, free: 9.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006147/0.4242, allocations: 221 kB / 0.5821 GB, free: 9.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.4247, allocations: 255.4 kB / 0.5824 GB, free: 9.219 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4247, allocations: 4 kB / 0.5824 GB, free: 9.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/0.4698, allocations: 12.26 MB / 0.5944 GB, free: 13.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.07, allocations: 3.125 kB / 0.5944 GB, free: 13.16 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.954715517349541] Failed to read output from testmodel.py, exit status != 0: 12.21298203477636 12.23963899 11.853751228 Calling exit ...