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.001824/0.001824, 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.002778/0.002778, allocations: 214.4 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.479/1.479, 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.2615/0.2615, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.002079/0.002079, allocations: 59.91 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2966, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008364/0.305, allocations: 6.267 MB / 0.5481 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.3092, allocations: 2.033 MB / 0.5501 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.3096, allocations: 30.34 kB / 0.5501 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.3116, allocations: 0.7148 MB / 0.5508 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.3127, allocations: 388.2 kB / 0.5512 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3138, allocations: 407.7 kB / 0.5516 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.3151, allocations: 0.9366 MB / 0.5525 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/0.3158, allocations: 401 kB / 0.5529 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007694/0.3166, allocations: 451.2 kB / 0.5533 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000889/0.3174, allocations: 0.566 MB / 0.5539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-05/0.3175, allocations: 56.81 kB / 0.5539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.3181, allocations: 264.8 kB / 0.5542 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.3185, allocations: 426.6 kB / 0.5546 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.319, allocations: 427.9 kB / 0.555 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.3203, allocations: 1.024 MB / 0.556 GB, free: 6.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3203, allocations: 0 / 0.556 GB, free: 6.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3203, allocations: 5.031 kB / 0.556 GB, free: 6.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3204, allocations: 3.938 kB / 0.556 GB, free: 6.023 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.001894/0.3222, allocations: 1.02 MB / 0.557 GB, free: 5.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3223, allocations: 19.97 kB / 0.557 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.3225, allocations: 135.3 kB / 0.5571 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.3235, allocations: 204.2 kB / 0.5573 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3246, allocations: 494.1 kB / 0.5578 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.3246, allocations: 54.38 kB / 0.5578 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3248, allocations: 79.94 kB / 0.5579 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.3265, allocations: 1.134 MB / 0.559 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3265, allocations: 11.92 kB / 0.559 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.3266, allocations: 28 kB / 0.5591 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-05/0.3267, allocations: 53.97 kB / 0.5591 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.3281, allocations: 0.8662 MB / 0.56 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006003/0.3341, allocations: 4.975 MB / 0.5648 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/0.3348, allocations: 403.6 kB / 0.5652 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.3351, allocations: 193.7 kB / 0.5654 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.3352, allocations: 8 kB / 0.5654 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.3352, allocations: 38.56 kB / 0.5654 GB, free: 12.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.3352, allocations: 0 / 0.5654 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.001924/0.3372, allocations: 1.093 MB / 0.5665 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.3372, allocations: 85.05 kB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.3378, allocations: 0.4978 MB / 0.5671 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.3378, allocations: 29.7 kB / 0.5671 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.3381, allocations: 475.2 kB / 0.5676 GB, free: 9.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3383, allocations: 158.7 kB / 0.5677 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.3385, allocations: 150.6 kB / 0.5679 GB, free: 9.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3387, allocations: 374.8 kB / 0.5682 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3391, allocations: 237.9 kB / 0.5684 GB, free: 8.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.3398, allocations: 0.6129 MB / 0.569 GB, free: 8.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.341, allocations: 0.9416 MB / 0.57 GB, free: 6.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.341, allocations: 4 kB / 0.57 GB, free: 6.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00146/0.3425, allocations: 0.8964 MB / 0.5708 GB, free: 6.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3425, allocations: 12 kB / 0.5708 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3425, allocations: 12 kB / 0.5709 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-05/0.3426, allocations: 20 kB / 0.5709 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.3433, allocations: 219.6 kB / 0.5711 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.079e-05/0.3434, allocations: 27.88 kB / 0.5711 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.3439, allocations: 47.95 kB / 0.5712 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.3439, allocations: 44.12 kB / 0.5712 GB, free: 5.699 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.0004236/0.3443, allocations: 309.7 kB / 0.5715 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.3444, allocations: 55.62 kB / 0.5715 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3454, allocations: 0.5679 MB / 0.5721 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3454, allocations: 4 kB / 0.5721 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3455, allocations: 0 / 0.5721 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.3455, allocations: 0 / 0.5721 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.3478, allocations: 1.305 MB / 0.5734 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3478, allocations: 4.25 kB / 0.5734 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.3482, allocations: 107.9 kB / 0.5735 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.3483, allocations: 11.92 kB / 0.5735 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3483, allocations: 12 kB / 0.5735 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.3483, allocations: 7.938 kB / 0.5735 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3483, allocations: 8 kB / 0.5735 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/0.3492, allocations: 0.646 MB / 0.5742 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3493, allocations: 59.56 kB / 0.5742 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.3494, allocations: 15.98 kB / 0.5742 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3496, allocations: 19.98 kB / 0.5742 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.3497, allocations: 39.72 kB / 0.5743 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.3497, allocations: 16 kB / 0.5743 GB, free: 2.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.3501, allocations: 326.8 kB / 0.5746 GB, free: 2.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3501, allocations: 0 / 0.5746 GB, free: 2.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007422/0.3508, allocations: 164 kB / 0.5748 GB, free: 1.91 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.001173/0.352, allocations: 1.206 MB / 0.5759 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009565/0.353, allocations: 0.5835 MB / 0.5765 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.353, allocations: 0 / 0.5765 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.3533, allocations: 223.9 kB / 0.5767 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.354, allocations: 113.1 kB / 0.5768 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/0.3617, allocations: 5.799 MB / 0.5825 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.3625, allocations: 1.003 MB / 0.5835 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005384/0.363, allocations: 229 kB / 0.5837 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/0.3634, allocations: 255.3 kB / 0.5839 GB, free: 7.926 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3634, allocations: 0 / 0.5839 GB, free: 7.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04414/0.4075, allocations: 12.24 MB / 0.5959 GB, free: 11.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.4, allocations: 4.062 kB / 0.5959 GB, free: 11.83 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.351949805000913] Failed to read output from testmodel.py, exit status != 0: 12.519676709998748 12.54394696 12.220316396 Calling exit ...