Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.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.0007509/0.0007509, allocations: 80.44 kB / 19.97 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.0008857/0.0008857, allocations: 177.9 kB / 23.25 MB, free: 1.309 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.9021/0.9021, allocations: 177.1 MB / 203.6 MB, free: 5.738 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.02314/0.02314, allocations: 4.469 MB / 264.5 MB, free: 8.766 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.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 389.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.189e-05, allocations: 2.281 kB / 389.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001465/0.001487, allocations: 0.7814 MB / 390.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002648, allocations: 1.198 MB / 391.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.002688, allocations: 0 / 391.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.002729, allocations: 7.922 kB / 391.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.002946, allocations: 19.86 kB / 391.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.00307, allocations: 27.91 kB / 391.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.003202, allocations: 95.8 kB / 391.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003304, allocations: 7.984 kB / 391.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.003456, allocations: 59.83 kB / 391.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.003568, allocations: 43.94 kB / 391.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.003589, allocations: 8 kB / 391.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.263e-05/0.003631, allocations: 15.98 kB / 391.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.003679, allocations: 27.91 kB / 391.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.003718, allocations: 35.91 kB / 391.9 MB, free: 5.102 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003849, allocations: 83.83 kB / 392 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003852, allocations: 3.984 kB / 392 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.003854, allocations: 0 / 392 MB, free: 5.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.003858, allocations: 0 / 392 MB, free: 5.016 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006507/0.004509, allocations: 369.9 kB / 392.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004547, allocations: 12.03 kB / 392.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.00458, allocations: 38.75 kB / 392.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.004662, allocations: 8.891 kB / 392.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.004758, allocations: 117.7 kB / 392.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.004897, allocations: 194.7 kB / 392.7 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.004912, allocations: 8.375 kB / 392.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.005568, allocations: 417.6 kB / 393.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.005577, allocations: 192 / 393.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.00559, allocations: 7.938 kB / 393.1 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005595, allocations: 4 kB / 393.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.005883, allocations: 163.8 kB / 393.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.006207, allocations: 325 kB / 393.6 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.006702, allocations: 323.5 kB / 393.9 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.006892, allocations: 142.5 kB / 394.1 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.006914, allocations: 4 kB / 394.1 MB, free: 2.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.006935, allocations: 38.56 kB / 394.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.006937, allocations: 0 / 394.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000663/0.007599, allocations: 345.6 kB / 394.5 MB, free: 2.332 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.007658, allocations: 110.8 kB / 394.6 MB, free: 2.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.007717, allocations: 105.9 kB / 394.7 MB, free: 2.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.007731, allocations: 33.7 kB / 394.7 MB, free: 2.047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.007764, allocations: 80.3 kB / 394.8 MB, free: 1.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.007786, allocations: 15.92 kB / 394.8 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.007811, allocations: 13.72 kB / 394.8 MB, free: 1.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.007882, allocations: 314.8 kB / 395.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.007891, allocations: 0 / 395.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.007907, allocations: 17.72 kB / 395.1 MB, free: 1.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.007935, allocations: 21.64 kB / 395.1 MB, free: 1.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007936, allocations: 4.062 kB / 395.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.718e-05/0.007983, allocations: 49.58 kB / 395.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007996, allocations: 4 kB / 395.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.008, allocations: 0 / 395.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.008013, allocations: 4 kB / 395.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.989e-05/0.008053, allocations: 3.984 kB / 395.2 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008059, allocations: 4 kB / 395.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.008079, allocations: 3.953 kB / 395.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.008084, allocations: 3.938 kB / 395.2 MB, free: 1.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.173e-05/0.008146, allocations: 121.9 kB / 395.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.008487, allocations: 229.5 kB / 395.6 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.842e-05/0.008576, allocations: 57.75 kB / 395.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.008579, allocations: 4 kB / 395.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.008585, allocations: 4 kB / 395.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008588, allocations: 0 / 395.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.008747, allocations: 152.6 kB / 395.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008748, allocations: 0 / 395.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.008874, allocations: 44 kB / 395.8 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.008877, allocations: 4 kB / 395.8 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.008888, allocations: 7.984 kB / 395.8 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.008891, allocations: 3.938 kB / 395.8 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008893, allocations: 7.938 kB / 395.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.009303, allocations: 420 kB / 396.3 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.009315, allocations: 11.89 kB / 396.3 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.009332, allocations: 15.92 kB / 396.3 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.00944, allocations: 19.98 kB / 396.3 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.009456, allocations: 7.984 kB / 396.3 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.009464, allocations: 8 kB / 396.3 MB, free: 308 kB / 314.7 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.009493, allocations: 79.28 kB / 396.4 MB, free: 228 kB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009493, allocations: 0 / 396.4 MB, free: 228 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.00018/0.009673, allocations: 12 kB / 396.4 MB, free: 216 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0006167/0.01029, allocations: 0.9613 MB / 397.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.0105, allocations: 111.9 kB / 397.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01051, allocations: 0 / 397.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-06/0.01051, allocations: 7.938 kB / 397.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.01092, allocations: 128.1 kB / 397.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.0124, allocations: 1.545 MB / 399.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.446e-05/0.01247, allocations: 87.17 kB / 399.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.916e-05/0.01248, allocations: 4.062 kB / 399.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.01253, allocations: 20.5 kB / 399.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01253, allocations: 0 / 399.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.02858, allocations: 2.706 MB / 402 MB, free: 10.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/6.974, allocations: 10.09 kB / 402 MB, free: 10.6 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.QfURegulation_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.914936977438629] Failed to read output from testmodel.py, exit status != 0: 7.053878193721175 7.201873288 7.195712296 Calling exit ...