Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001932/0.001932, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001461/0.001461, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.1873/0.1873, allocations: 38.55 MB / 352.5 MB, free: 12.28 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.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.002114/0.002114, allocations: 67.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3284, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.00505/0.3335, allocations: 3.457 MB / 0.5453 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.3359, allocations: 1.424 MB / 0.5467 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.336, allocations: 9.656 kB / 0.5467 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.3369, allocations: 248.3 kB / 0.5469 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000865/0.3378, allocations: 282.5 kB / 0.5472 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.3382, allocations: 135.8 kB / 0.5473 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.3386, allocations: 338.4 kB / 0.5477 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.3389, allocations: 119.1 kB / 0.5478 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.3393, allocations: 167.3 kB / 0.5479 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.3395, allocations: 161.8 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3396, allocations: 14.78 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.3401, allocations: 280.1 kB / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3403, allocations: 106.2 kB / 0.5485 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3404, allocations: 86.11 kB / 0.5486 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006117/0.341, allocations: 368.7 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.341, allocations: 1.219 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.341, allocations: 0 / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.341, allocations: 0 / 0.5489 GB, free: 11.04 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007924/0.3418, allocations: 449.2 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3419, allocations: 12.3 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.3419, allocations: 58.94 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.3428, allocations: 97.33 kB / 0.5495 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.3432, allocations: 212.4 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3432, allocations: 15.75 kB / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.3432, allocations: 22.91 kB / 0.5497 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.3437, allocations: 325 kB / 0.55 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3438, allocations: 0 / 0.55 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3438, allocations: 6.594 kB / 0.5501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.3438, allocations: 24.86 kB / 0.5501 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.3443, allocations: 286.9 kB / 0.5503 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.3464, allocations: 1.191 MB / 0.5515 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.3468, allocations: 227.1 kB / 0.5517 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.347, allocations: 91.3 kB / 0.5518 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.347, allocations: 3.281 kB / 0.5518 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3471, allocations: 32.91 kB / 0.5519 GB, free: 8.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3471, allocations: 4 kB / 0.5519 GB, free: 8.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009093/0.348, allocations: 446.7 kB / 0.5523 GB, free: 8.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.348, allocations: 79.3 kB / 0.5524 GB, free: 8.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3483, allocations: 206.5 kB / 0.5526 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3483, allocations: 31.14 kB / 0.5526 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3484, allocations: 167.3 kB / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.3485, allocations: 59.42 kB / 0.5528 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.3486, allocations: 48.31 kB / 0.5528 GB, free: 7.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3487, allocations: 331.4 kB / 0.5532 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3489, allocations: 84.67 kB / 0.5532 GB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.3491, allocations: 163.1 kB / 0.5534 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.3494, allocations: 259.6 kB / 0.5536 GB, free: 7.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3494, allocations: 1.375 kB / 0.5536 GB, free: 7.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004697/0.3499, allocations: 297.8 kB / 0.5539 GB, free: 7.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3499, allocations: 6.5 kB / 0.5539 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3499, allocations: 6.125 kB / 0.5539 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.35, allocations: 3.406 kB / 0.5539 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.3502, allocations: 56.64 kB / 0.554 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3502, allocations: 7.312 kB / 0.554 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3504, allocations: 18.83 kB / 0.554 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3504, allocations: 16.66 kB / 0.554 GB, free: 7.027 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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.000159/0.3506, allocations: 157.2 kB / 0.5542 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.3506, allocations: 15.47 kB / 0.5542 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.351, allocations: 235 kB / 0.5544 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.351, allocations: 2.219 kB / 0.5544 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.351, allocations: 0 / 0.5544 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.351, allocations: 1.188 kB / 0.5544 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3525, allocations: 0.8987 MB / 0.5553 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3525, allocations: 4.469 kB / 0.5553 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3526, allocations: 39.12 kB / 0.5554 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3527, allocations: 4.906 kB / 0.5554 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3527, allocations: 10.44 kB / 0.5554 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.3527, allocations: 12.28 kB / 0.5554 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3527, allocations: 4.625 kB / 0.5554 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.3532, allocations: 418.9 kB / 0.5558 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3532, allocations: 23.86 kB / 0.5558 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.3532, allocations: 19.86 kB / 0.5558 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.3534, allocations: 8 kB / 0.5558 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3535, allocations: 27.84 kB / 0.5559 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3535, allocations: 8 kB / 0.5559 GB, free: 5.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.3536, allocations: 155 kB / 0.556 GB, free: 5.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3536, allocations: 0 / 0.556 GB, free: 5.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.354, allocations: 52 kB / 0.5561 GB, free: 5.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0007687/0.3548, allocations: 0.9404 MB / 0.557 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.3552, allocations: 219.6 kB / 0.5572 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3552, allocations: 0 / 0.5572 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3553, allocations: 95.77 kB / 0.5573 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.3558, allocations: 47.53 kB / 0.5573 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.3592, allocations: 2.698 MB / 0.56 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.3594, allocations: 156.2 kB / 0.5601 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.3595, allocations: 53.58 kB / 0.5602 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3596, allocations: 63.42 kB / 0.5602 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3596, allocations: 0 / 0.5602 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.3912, allocations: 4.823 MB / 0.5649 GB, free: 11.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 11.11 kB / 0.5649 GB, free: 11.98 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest_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_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.4222927550436] Failed to read output from testmodel.py, exit status != 0: 11.613234732998535 11.628939101 11.284674122 Calling exit ...