Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.001241/0.001241, allocations: 76.55 kB / 19.96 MB, free: 4.598 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.001485/0.001485, allocations: 177.9 kB / 23.25 MB, free: 1.312 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.906/0.906, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02392/0.02392, allocations: 4.465 MB / 264.5 MB, free: 8.77 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 389.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.254e-05, allocations: 8.891 kB / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.001671/0.001693, allocations: 0.9382 MB / 390.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.002699, allocations: 1.123 MB / 391.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.002743, allocations: 4 kB / 391.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.002973, allocations: 75.52 kB / 391.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.003112, allocations: 39.75 kB / 391.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.003387, allocations: 127.5 kB / 391.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.003482, allocations: 59.67 kB / 392 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.00359, allocations: 24.16 kB / 392 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.003634, allocations: 35.91 kB / 392 MB, free: 4.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.00371, allocations: 27.91 kB / 392 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.003725, allocations: 8 kB / 392 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.003834, allocations: 59.84 kB / 392.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.003851, allocations: 19.92 kB / 392.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.003875, allocations: 19.92 kB / 392.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.004043, allocations: 127.5 kB / 392.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.004047, allocations: 4 kB / 392.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004048, allocations: 0 / 392.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004052, allocations: 4 kB / 392.3 MB, free: 4.73 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003986/0.00445, allocations: 310 kB / 392.6 MB, free: 4.398 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004486, allocations: 12.03 kB / 392.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.004516, allocations: 34.75 kB / 392.6 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.00454, allocations: 8.891 kB / 392.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.004632, allocations: 117.7 kB / 392.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.004645, allocations: 8.375 kB / 392.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.004655, allocations: 4.375 kB / 392.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.004778, allocations: 78.23 kB / 392.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004786, allocations: 192 / 392.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.004798, allocations: 8.375 kB / 392.8 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.004803, allocations: 3.938 kB / 392.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.004878, allocations: 63.97 kB / 392.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.005294, allocations: 307.7 kB / 393.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/0.005384, allocations: 42.5 kB / 393.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.005411, allocations: 16.98 kB / 393.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.005487, allocations: 11.98 kB / 393.3 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.005506, allocations: 34.56 kB / 393.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005507, allocations: 7.875 kB / 393.3 MB, free: 3.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001679/0.005675, allocations: 73.64 kB / 393.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.005702, allocations: 51.41 kB / 393.4 MB, free: 3.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.005767, allocations: 113.9 kB / 393.6 MB, free: 3.289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.005776, allocations: 29.64 kB / 393.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.005819, allocations: 104 kB / 393.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.005832, allocations: 19.86 kB / 393.7 MB, free: 3.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.00586, allocations: 17.72 kB / 393.7 MB, free: 3.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.005938, allocations: 322.8 kB / 394 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.005963, allocations: 16 kB / 394.1 MB, free: 2.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.005981, allocations: 15.98 kB / 394.1 MB, free: 2.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.006031, allocations: 33.11 kB / 394.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006033, allocations: 0 / 394.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.466e-05/0.006107, allocations: 81.67 kB / 394.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.00612, allocations: 8 kB / 394.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006125, allocations: 0 / 394.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.006143, allocations: 0 / 394.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.006215, allocations: 15.94 kB / 394.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.00622, allocations: 0.5469 kB / 394.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.006237, allocations: 3.953 kB / 394.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.006244, allocations: 7.938 kB / 394.2 MB, free: 2.594 MB / 314.7 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 (7): * Single equations (assignments): 7 * 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 6.004e-05/0.006304, allocations: 125.8 kB / 394.3 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.006315, allocations: 0 / 394.3 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.006424, allocations: 69.81 kB / 394.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006426, allocations: 11.98 kB / 394.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.006431, allocations: 0 / 394.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006433, allocations: 0 / 394.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.006558, allocations: 160.6 kB / 394.6 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006559, allocations: 0 / 394.6 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.006589, allocations: 11.98 kB / 394.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006591, allocations: 0 / 394.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.006598, allocations: 0 / 394.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.006599, allocations: 0 / 394.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0066, allocations: 0 / 394.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.706e-05/0.006697, allocations: 163.5 kB / 394.7 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.006705, allocations: 11.95 kB / 394.8 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006715, allocations: 8.062 kB / 394.8 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.727e-05/0.006743, allocations: 0 / 394.8 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.006758, allocations: 7.984 kB / 394.8 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.006761, allocations: 0 / 394.8 MB, free: 1.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.006796, allocations: 95.2 kB / 394.9 MB, free: 1.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006796, allocations: 0 / 394.9 MB, free: 1.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.006958, allocations: 23.88 kB / 394.9 MB, free: 1.844 MB / 314.7 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 (6): * Single equations (assignments): 6 * 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.0003213/0.007279, allocations: 0.7124 MB / 395.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.007366, allocations: 35.92 kB / 395.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007368, allocations: 0 / 395.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.836e-05/0.007386, allocations: 20 kB / 395.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.007539, allocations: 0 / 395.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.008543, allocations: 1.315 MB / 397 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.008588, allocations: 75.33 kB / 397 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.008614, allocations: 4 kB / 397 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.008652, allocations: 20.5 kB / 397.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008652, allocations: 0 / 397.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.02449, allocations: 2.484 MB / 399.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.013, allocations: 7.109 kB / 399.6 MB, free: 13.16 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneBank_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.933535407297313] Failed to read output from testmodel.py, exit status != 0: 7.0955773666501045 7.259030994 7.098628371 Calling exit ...