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.001775/0.001775, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002225/0.002225, allocations: 207.7 kB / 23.73 MB, free: 4.523 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2404/0.2404, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002074/0.002074, allocations: 63.91 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.0084/0.365, allocations: 5.834 MB / 0.5476 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004044/0.369, allocations: 1.883 MB / 0.5495 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.3694, allocations: 30.78 kB / 0.5495 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.3714, allocations: 0.6742 MB / 0.5501 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009546/0.3724, allocations: 384.4 kB / 0.5505 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3735, allocations: 399.6 kB / 0.5509 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.3746, allocations: 0.9446 MB / 0.5518 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.3752, allocations: 397.3 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.3759, allocations: 454 kB / 0.5526 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/0.3767, allocations: 0.5693 MB / 0.5532 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3768, allocations: 56.97 kB / 0.5532 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.3773, allocations: 243.6 kB / 0.5535 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.3777, allocations: 434.1 kB / 0.5539 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.3782, allocations: 348.5 kB / 0.5542 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3795, allocations: 1.041 MB / 0.5552 GB, free: 6.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3795, allocations: 4 kB / 0.5552 GB, free: 6.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3795, allocations: 0 / 0.5552 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.3795, allocations: 1.125 kB / 0.5552 GB, free: 6.582 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.001959/0.3815, allocations: 1.022 MB / 0.5562 GB, free: 5.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3815, allocations: 15.92 kB / 0.5563 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.3817, allocations: 135.3 kB / 0.5564 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.3827, allocations: 204.2 kB / 0.5566 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3838, allocations: 490.1 kB / 0.557 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.3839, allocations: 66.36 kB / 0.5571 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.384, allocations: 75.94 kB / 0.5572 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.3857, allocations: 1.137 MB / 0.5583 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.3858, allocations: 0 / 0.5583 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.3858, allocations: 36 kB / 0.5583 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.617e-05/0.3859, allocations: 49.92 kB / 0.5584 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.3873, allocations: 0.8585 MB / 0.5592 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.3933, allocations: 4.827 MB / 0.5639 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.3941, allocations: 392.1 kB / 0.5643 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.3944, allocations: 193.7 kB / 0.5645 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.3944, allocations: 8 kB / 0.5645 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3945, allocations: 38.56 kB / 0.5645 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.3945, allocations: 0 / 0.5645 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.001989/0.3965, allocations: 1.093 MB / 0.5656 GB, free: 11.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.3965, allocations: 81.11 kB / 0.5657 GB, free: 11.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.3971, allocations: 0.5094 MB / 0.5662 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.3972, allocations: 37.7 kB / 0.5662 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.3975, allocations: 467.2 kB / 0.5667 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.3977, allocations: 162.6 kB / 0.5668 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.3979, allocations: 162.7 kB / 0.567 GB, free: 10.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3981, allocations: 374.7 kB / 0.5673 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.3985, allocations: 233.9 kB / 0.5675 GB, free: 9.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/0.3992, allocations: 0.6168 MB / 0.5681 GB, free: 8.691 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4004, allocations: 0.9377 MB / 0.5691 GB, free: 7.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4005, allocations: 4 kB / 0.5691 GB, free: 7.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001429/0.4019, allocations: 0.892 MB / 0.5699 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4019, allocations: 15.94 kB / 0.57 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.4019, allocations: 12 kB / 0.57 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.402, allocations: 20 kB / 0.57 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.4027, allocations: 220.4 kB / 0.5702 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/0.4027, allocations: 27.81 kB / 0.5702 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.4032, allocations: 55.91 kB / 0.5703 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.4032, allocations: 44 kB / 0.5703 GB, free: 6.281 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.0003951/0.4036, allocations: 305.6 kB / 0.5706 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.4037, allocations: 59.62 kB / 0.5707 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/0.4047, allocations: 0.5563 MB / 0.5712 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4047, allocations: 8 kB / 0.5712 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4047, allocations: 4 kB / 0.5712 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4047, allocations: 3.938 kB / 0.5712 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.4068, allocations: 1.258 MB / 0.5724 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.4068, allocations: 7.984 kB / 0.5725 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.4073, allocations: 103.9 kB / 0.5726 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4073, allocations: 16.12 kB / 0.5726 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.4073, allocations: 12 kB / 0.5726 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.4073, allocations: 4 kB / 0.5726 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4073, allocations: 4 kB / 0.5726 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.4082, allocations: 0.646 MB / 0.5732 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4083, allocations: 63.55 kB / 0.5733 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.4083, allocations: 8 kB / 0.5733 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.4086, allocations: 19.98 kB / 0.5733 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.4087, allocations: 39.72 kB / 0.5733 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.4087, allocations: 27.92 kB / 0.5734 GB, free: 3.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.409, allocations: 322.9 kB / 0.5737 GB, free: 2.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.409, allocations: 0 / 0.5737 GB, free: 2.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006939/0.4097, allocations: 164 kB / 0.5738 GB, free: 2.539 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.00117/0.4109, allocations: 1.202 MB / 0.575 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009786/0.4119, allocations: 0.5759 MB / 0.5756 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4119, allocations: 0 / 0.5756 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.4122, allocations: 231.4 kB / 0.5758 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.4129, allocations: 122.5 kB / 0.5759 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/0.4209, allocations: 5.804 MB / 0.5816 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.4214, allocations: 410.9 kB / 0.582 GB, free: 9.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006106/0.422, allocations: 221 kB / 0.5822 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.4224, allocations: 251.4 kB / 0.5824 GB, free: 9.172 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4224, allocations: 0 / 0.5824 GB, free: 9.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04572/0.4681, allocations: 12.55 MB / 0.5947 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.89, allocations: 7.281 kB / 0.5947 GB, free: 12.82 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Units_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 PowerSystems_PowerSystems_Examples_Introductory_Units.fmu > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.92761375097325] Failed to read output from testmodel.py, exit status != 0: 12.005650883016642 12.021652733 11.638541288 Calling exit ...