Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001803/0.001803, 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.002093/0.002093, allocations: 214.5 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.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1488/0.1488, allocations: 26.82 MB / 340.7 MB, free: 8.195 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower 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.001977/0.001977, allocations: 67.84 kB / 476.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3316, allocations: 60.47 MB / 0.5247 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.206/0.5376, allocations: 170.2 MB / 0.6909 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005836/0.5435, allocations: 3.778 MB / 0.6946 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.5439, allocations: 11.94 kB / 0.6946 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009393/0.5449, allocations: 282.2 kB / 0.6949 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.5461, allocations: 0.6378 MB / 0.6955 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.5501, allocations: 1.628 MB / 0.6971 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.5519, allocations: 1.38 MB / 0.6984 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.5525, allocations: 381.6 kB / 0.6988 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.5533, allocations: 0.5567 MB / 0.6993 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007222/0.554, allocations: 0.5762 MB / 0.6999 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.331e-05/0.5541, allocations: 60 kB / 0.7 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.5557, allocations: 0.7679 MB / 0.7007 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.5562, allocations: 486.6 kB / 0.7012 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.5568, allocations: 0.5516 MB / 0.7017 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.5588, allocations: 1.623 MB / 0.7033 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5588, allocations: 3.938 kB / 0.7033 GB, free: 13.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5588, allocations: 0 / 0.7033 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.5588, allocations: 0 / 0.7033 GB, free: 13.58 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002421/0.5612, allocations: 1.5 MB / 0.7048 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5612, allocations: 8.031 kB / 0.7048 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.5614, allocations: 94.52 kB / 0.7049 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007672/0.5621, allocations: 195 kB / 0.705 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.5635, allocations: 0.8299 MB / 0.7059 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.5636, allocations: 41.31 kB / 0.7059 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.5637, allocations: 55.95 kB / 0.7059 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.5647, allocations: 0.634 MB / 0.7066 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5647, allocations: 0 / 0.7066 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.5648, allocations: 20 kB / 0.7066 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5648, allocations: 20 kB / 0.7066 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.5656, allocations: 488.9 kB / 0.7071 GB, free: 9.617 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.57, allocations: 2.351 MB / 0.7094 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.5703, allocations: 193.1 kB / 0.7095 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.5704, allocations: 72.83 kB / 0.7096 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.5706, allocations: 28.03 kB / 0.7096 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5707, allocations: 42.55 kB / 0.7097 GB, free: 6.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.5707, allocations: 0 / 0.7097 GB, free: 6.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007068/0.5714, allocations: 361.1 kB / 0.71 GB, free: 6.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5714, allocations: 63.34 kB / 0.7101 GB, free: 6.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.5738, allocations: 1.935 MB / 0.712 GB, free: 4.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.5739, allocations: 33.7 kB / 0.712 GB, free: 4.391 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/0.5744, allocations: 0.5839 MB / 0.7126 GB, free: 3.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.5745, allocations: 79.31 kB / 0.7127 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.5746, allocations: 78.02 kB / 0.7127 GB, free: 3.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5748, allocations: 325.9 kB / 0.713 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.575, allocations: 142.6 kB / 0.7132 GB, free: 3.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.5753, allocations: 226 kB / 0.7134 GB, free: 2.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.5758, allocations: 337.9 kB / 0.7137 GB, free: 2.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5758, allocations: 0 / 0.7137 GB, free: 2.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008659/0.5767, allocations: 0.5159 MB / 0.7142 GB, free: 2.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5767, allocations: 4 kB / 0.7142 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5767, allocations: 4 kB / 0.7142 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.5767, allocations: 8 kB / 0.7142 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.5773, allocations: 120.2 kB / 0.7144 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.5785, allocations: 1.793 MB / 0.7161 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.579, allocations: 75.67 kB / 0.7162 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.579, allocations: 24.03 kB / 0.7162 GB, free: 15.91 MB / 0.5606 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005315/0.5796, allocations: 389.4 kB / 0.7166 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.5798, allocations: 131.2 kB / 0.7167 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.5804, allocations: 340.1 kB / 0.717 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5804, allocations: 4 kB / 0.717 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5804, allocations: 7.938 kB / 0.717 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5804, allocations: 0 / 0.717 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009407/0.5813, allocations: 0.6947 MB / 0.7177 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5813, allocations: 0 / 0.7177 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.5817, allocations: 71.89 kB / 0.7178 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5817, allocations: 4 kB / 0.7178 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.5817, allocations: 7.984 kB / 0.7178 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.5829, allocations: 1.778 MB / 0.7195 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5829, allocations: 4 kB / 0.7195 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.5836, allocations: 0.4933 MB / 0.72 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.584, allocations: 179.1 kB / 0.7202 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5841, allocations: 7.938 kB / 0.7202 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.5846, allocations: 23.97 kB / 0.7202 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.5846, allocations: 7.984 kB / 0.7202 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.5846, allocations: 23.97 kB / 0.7202 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001775/0.5864, allocations: 1.382 MB / 0.7216 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5864, allocations: 0 / 0.7216 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007697/0.5872, allocations: 239.6 kB / 0.7218 GB, free: 10 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002648/0.5898, allocations: 1.461 MB / 0.7232 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.5905, allocations: 263.9 kB / 0.7235 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5905, allocations: 0.875 kB / 0.7235 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.5908, allocations: 107.9 kB / 0.7236 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5925, allocations: 386.4 kB / 0.724 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2411/0.8336, allocations: 10.94 MB / 0.7347 GB, free: 192.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/0.8344, allocations: 1.114 MB / 0.7357 GB, free: 191.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000742/0.8351, allocations: 225.4 kB / 0.736 GB, free: 191.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.8356, allocations: 414.4 kB / 0.7364 GB, free: 191.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.8356, allocations: 3.969 kB / 0.7364 GB, free: 191.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07246/0.9081, allocations: 30.51 MB / 0.7661 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.27, allocations: 3.859 kB / 0.7661 GB, free: 173.9 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorInertia_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.062481560977176] Failed to read output from testmodel.py, exit status != 0: 15.457825543009676 15.476878007 14.914562872 Calling exit ...