Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.0008532/0.0008532, allocations: 83.7 kB / 20.67 MB, free: 3.883 MB / 18.57 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.000839/0.000839, allocations: 173.3 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.8704/0.8704, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2256/0.2256, allocations: 29.4 MB / 290.1 MB, free: 2.438 MB / 266.7 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.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.226e-05, allocations: 8.25 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003353/0.003375, allocations: 3.407 MB / 433.6 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004763, allocations: 1.449 MB / 435.1 MB, free: 8.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.004905, allocations: 7.938 kB / 435.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.005535, allocations: 254.8 kB / 435.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.006106, allocations: 286.6 kB / 435.6 MB, free: 8.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.00641, allocations: 131.5 kB / 435.7 MB, free: 8.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.006781, allocations: 338.9 kB / 436.1 MB, free: 7.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.007066, allocations: 122 kB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.007365, allocations: 203.3 kB / 436.4 MB, free: 7.414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.007559, allocations: 143.6 kB / 436.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.007581, allocations: 16 kB / 436.5 MB, free: 7.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.007947, allocations: 287 kB / 436.8 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.008045, allocations: 115.7 kB / 436.9 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.008117, allocations: 71.83 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.0085, allocations: 366.9 kB / 437.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.008504, allocations: 0 / 437.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008506, allocations: 3.938 kB / 437.4 MB, free: 6.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.008511, allocations: 3.938 kB / 437.4 MB, free: 6.426 MB / 410.7 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.0005667/0.009077, allocations: 445 kB / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.009124, allocations: 11.98 kB / 437.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.009175, allocations: 54.73 kB / 437.9 MB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.009764, allocations: 108.7 kB / 438 MB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.01005, allocations: 217.1 kB / 438.2 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.01007, allocations: 12.38 kB / 438.2 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.01009, allocations: 16.38 kB / 438.2 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.01045, allocations: 327 kB / 438.5 MB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.01046, allocations: 4 kB / 438.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.01048, allocations: 8 kB / 438.5 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.01051, allocations: 16 kB / 438.6 MB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.01083, allocations: 307.6 kB / 438.9 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.01197, allocations: 1.189 MB / 440 MB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.01218, allocations: 121.2 kB / 440.2 MB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.01222, allocations: 45.8 kB / 440.2 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.01224, allocations: 7.938 kB / 440.2 MB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.01226, allocations: 30.75 kB / 440.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.01226, allocations: 0 / 440.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002373/0.0125, allocations: 141.4 kB / 440.4 MB, free: 3.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.01253, allocations: 81.11 kB / 440.5 MB, free: 3.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.01267, allocations: 219.7 kB / 440.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.01269, allocations: 25.7 kB / 440.7 MB, free: 2.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.01276, allocations: 172 kB / 440.9 MB, free: 2.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.01278, allocations: 43.8 kB / 440.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.01283, allocations: 45.7 kB / 441 MB, free: 2.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.01291, allocations: 322.8 kB / 441.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.01296, allocations: 39.97 kB / 441.3 MB, free: 2.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.01305, allocations: 139.8 kB / 441.4 MB, free: 2.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.0132, allocations: 205 kB / 441.6 MB, free: 1.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.0132, allocations: 0 / 441.6 MB, free: 1.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000199/0.0134, allocations: 217.1 kB / 441.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01342, allocations: 8 kB / 441.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01342, allocations: 4 kB / 441.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01344, allocations: 7.938 kB / 441.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01354, allocations: 47.91 kB / 441.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01354, allocations: 4 kB / 441.9 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.01361, allocations: 23.83 kB / 442 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01363, allocations: 8.406 kB / 442 MB, free: 1.457 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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 9.646e-05/0.01372, allocations: 157.8 kB / 442.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.01375, allocations: 23.8 kB / 442.1 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.01391, allocations: 123 kB / 442.3 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01391, allocations: 0 / 442.3 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01392, allocations: 4 kB / 442.3 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01392, allocations: 3.984 kB / 442.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.0144, allocations: 0.5283 MB / 442.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0144, allocations: 4 kB / 442.8 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.01444, allocations: 19.98 kB / 442.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01444, allocations: 0 / 442.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.01445, allocations: 4 kB / 442.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.01445, allocations: 7.938 kB / 442.8 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.01446, allocations: 7.938 kB / 442.8 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.01464, allocations: 284.1 kB / 443.1 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.01467, allocations: 23.91 kB / 443.1 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01469, allocations: 8.188 kB / 443.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.01475, allocations: 7.984 kB / 443.2 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.01477, allocations: 19.8 kB / 443.2 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01478, allocations: 12 kB / 443.2 MB, free: 88 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1593/0.1741, allocations: 144.7 kB / 443.3 MB, free: 54.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1741, allocations: 0 / 443.3 MB, free: 54.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.1745, allocations: 51.88 kB / 443.4 MB, free: 54.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.0004284/0.1749, allocations: 0.8063 MB / 444.2 MB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1751, allocations: 116.7 kB / 444.3 MB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1751, allocations: 1.531 kB / 444.3 MB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.1752, allocations: 46.83 kB / 444.3 MB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1756, allocations: 37.97 kB / 444.4 MB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1771, allocations: 2.293 MB / 446.7 MB, free: 51.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.1772, allocations: 145.2 kB / 446.8 MB, free: 51.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.813e-05/0.1773, allocations: 37.94 kB / 446.9 MB, free: 51.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.1773, allocations: 55.73 kB / 446.9 MB, free: 51.59 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1773, allocations: 2.188 kB / 446.9 MB, free: 51.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.193, allocations: 4.043 MB / 451 MB, free: 50.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.176, allocations: 24.48 kB / 451 MB, free: 50.61 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.0895129237324] Failed to read output from testmodel.py, exit status != 0: 7.257203520275652 7.264554838 7.2545364039999995 Calling exit ...