Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.001392/0.001392, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001783/0.001783, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.564/1.564, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1894/0.1894, allocations: 38.56 MB / 353.3 MB, free: 12.32 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.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",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.001962/0.001962, allocations: 59.91 kB / 493.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 62.47 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.004127/0.3744, allocations: 1.491 MB / 0.5441 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3756, allocations: 478.2 kB / 0.5446 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.3756, allocations: 0 / 0.5446 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.3758, allocations: 20.3 kB / 0.5446 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.3761, allocations: 81.14 kB / 0.5447 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.3764, allocations: 88.95 kB / 0.5448 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3765, allocations: 61.36 kB / 0.5448 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.3766, allocations: 7.422 kB / 0.5448 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3767, allocations: 31.7 kB / 0.5449 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.3768, allocations: 28.28 kB / 0.5449 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3768, allocations: 3.844 kB / 0.5449 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.377, allocations: 102.8 kB / 0.545 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.377, allocations: 17.84 kB / 0.545 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.3771, allocations: 17.72 kB / 0.545 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.3773, allocations: 141.9 kB / 0.5452 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3773, allocations: 5.375 kB / 0.5452 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3773, allocations: 0 / 0.5452 GB, free: 14.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3773, allocations: 0 / 0.5452 GB, free: 14.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005753/0.3779, allocations: 326.8 kB / 0.5455 GB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.378, allocations: 17.08 kB / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.373e-05/0.378, allocations: 1.469 kB / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.378, allocations: 36.25 kB / 0.5455 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.3781, allocations: 8.078 kB / 0.5455 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.3783, allocations: 142.2 kB / 0.5457 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3783, allocations: 2.031 kB / 0.5457 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3783, allocations: 7.094 kB / 0.5457 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3785, allocations: 88.45 kB / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3785, allocations: 0 / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3785, allocations: 5.562 kB / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3785, allocations: 0 / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.3786, allocations: 22.98 kB / 0.5458 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.379, allocations: 247.6 kB / 0.546 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3791, allocations: 39.34 kB / 0.5461 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.3792, allocations: 8.391 kB / 0.5461 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.3792, allocations: 5.188 kB / 0.5461 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.3792, allocations: 35.78 kB / 0.5461 GB, free: 13.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3792, allocations: 0 / 0.5461 GB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002482/0.3795, allocations: 55.73 kB / 0.5462 GB, free: 13.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.3796, allocations: 82.14 kB / 0.5463 GB, free: 13.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.3798, allocations: 162.5 kB / 0.5464 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3798, allocations: 29.7 kB / 0.5464 GB, free: 13.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3799, allocations: 100.6 kB / 0.5465 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.3799, allocations: 9.266 kB / 0.5465 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.38, allocations: 17.84 kB / 0.5466 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3801, allocations: 316.2 kB / 0.5469 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.3801, allocations: 8.125 kB / 0.5469 GB, free: 12.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.3802, allocations: 44.91 kB / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.3802, allocations: 18.77 kB / 0.5469 GB, free: 12.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3802, allocations: 0 / 0.5469 GB, free: 12.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.813e-05/0.3803, allocations: 59.31 kB / 0.547 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3804, allocations: 13.47 kB / 0.547 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3804, allocations: 1.375 kB / 0.547 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3804, allocations: 0 / 0.547 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.3804, allocations: 4.125 kB / 0.547 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3804, allocations: 1.375 kB / 0.547 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.3805, allocations: 7.938 kB / 0.547 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.3805, allocations: 5.359 kB / 0.547 GB, free: 12.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001006/0.3806, allocations: 111.3 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.3806, allocations: 6.703 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.3808, allocations: 65.08 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3808, allocations: 5.375 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3808, allocations: 0 / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3808, allocations: 3.938 kB / 0.5472 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.381, allocations: 146.5 kB / 0.5473 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.381, allocations: 0 / 0.5473 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.381, allocations: 8.125 kB / 0.5474 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.381, allocations: 1.375 kB / 0.5474 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.381, allocations: 4 kB / 0.5474 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.381, allocations: 5.359 kB / 0.5474 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.381, allocations: 0 / 0.5474 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3812, allocations: 147.9 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.3812, allocations: 10.7 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3812, allocations: 9.359 kB / 0.5475 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.3813, allocations: 0 / 0.5475 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.3813, allocations: 5.312 kB / 0.5475 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.3813, allocations: 1.375 kB / 0.5475 GB, free: 11.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3814, allocations: 122.6 kB / 0.5476 GB, free: 11.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3814, allocations: 3.938 kB / 0.5476 GB, free: 11.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.3817, allocations: 36.98 kB / 0.5477 GB, free: 11.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.002122/0.3839, allocations: 1.053 MB / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.384, allocations: 22.19 kB / 0.5487 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.384, allocations: 5.031 kB / 0.5487 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.384, allocations: 5.656 kB / 0.5487 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3844, allocations: 19.92 kB / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3859, allocations: 1.371 MB / 0.5501 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.386, allocations: 77.86 kB / 0.5502 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.3861, allocations: 21.5 kB / 0.5502 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.3861, allocations: 28.11 kB / 0.5502 GB, free: 9.609 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3861, allocations: 5.125 kB / 0.5502 GB, free: 9.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.4101, allocations: 3.274 MB / 0.5534 GB, free: 7.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.59, allocations: 10.06 kB / 0.5534 GB, free: 7.645 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.700088641024195] Failed to read output from testmodel.py, exit status != 0: 11.819195455056615 11.851038047 11.467409389 Calling exit ...