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.001555/0.001555, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001432/0.001432, allocations: 210.1 kB / 24.49 MB, free: 4.145 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.961 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.1551/0.1551, allocations: 26.82 MB / 341.5 MB, free: 8.176 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: translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [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.002307/0.002307, allocations: 71.89 kB / 478.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.3, allocations: 60.48 MB / 0.5259 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.204/0.5041, allocations: 170.2 MB / 0.6921 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005991/0.5101, allocations: 3.77 MB / 0.6958 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.5105, allocations: 11.88 kB / 0.6958 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.5114, allocations: 290.2 kB / 0.6961 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.5129, allocations: 0.63 MB / 0.6967 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.5174, allocations: 1.628 MB / 0.6983 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.5195, allocations: 1.372 MB / 0.6996 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.5203, allocations: 391.4 kB / 0.7 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.5214, allocations: 0.5567 MB / 0.7006 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009708/0.5224, allocations: 0.5684 MB / 0.7011 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.5226, allocations: 60 kB / 0.7012 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.5244, allocations: 0.7679 MB / 0.7019 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005843/0.525, allocations: 482.6 kB / 0.7024 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000777/0.5258, allocations: 0.5515 MB / 0.7029 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.5282, allocations: 1.603 MB / 0.7045 GB, free: 13.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5283, allocations: 4 kB / 0.7045 GB, free: 13.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5283, allocations: 0 / 0.7045 GB, free: 13.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.5283, allocations: 4 kB / 0.7045 GB, free: 13.56 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.00275/0.531, allocations: 1.472 MB / 0.7059 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5311, allocations: 12.03 kB / 0.7059 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.5319, allocations: 195 kB / 0.7061 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.5336, allocations: 0.8101 MB / 0.7069 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.5336, allocations: 37.31 kB / 0.707 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.029e-05/0.5337, allocations: 48 kB / 0.707 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.5349, allocations: 0.6391 MB / 0.7076 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.5349, allocations: 0 / 0.7076 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.535, allocations: 24 kB / 0.7076 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.535, allocations: 12 kB / 0.7077 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.5359, allocations: 485 kB / 0.7081 GB, free: 9.75 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.004865/0.5407, allocations: 2.343 MB / 0.7104 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.5411, allocations: 182.6 kB / 0.7106 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5412, allocations: 72.83 kB / 0.7107 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.5415, allocations: 27.95 kB / 0.7107 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.5415, allocations: 42.56 kB / 0.7107 GB, free: 6.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.5415, allocations: 0 / 0.7107 GB, free: 6.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0008077/0.5423, allocations: 369 kB / 0.7111 GB, free: 6.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.5424, allocations: 55.41 kB / 0.7111 GB, free: 6.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.5451, allocations: 1.907 MB / 0.713 GB, free: 4.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.5451, allocations: 37.64 kB / 0.713 GB, free: 4.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/0.5457, allocations: 0.5838 MB / 0.7136 GB, free: 3.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.5458, allocations: 79.31 kB / 0.7137 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.5459, allocations: 78.03 kB / 0.7137 GB, free: 3.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5461, allocations: 329.9 kB / 0.7141 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.5463, allocations: 130.6 kB / 0.7142 GB, free: 3.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.5467, allocations: 238 kB / 0.7144 GB, free: 3.078 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.5472, allocations: 333.5 kB / 0.7147 GB, free: 2.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.5472, allocations: 8 kB / 0.7147 GB, free: 2.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000955/0.5481, allocations: 0.5007 MB / 0.7152 GB, free: 2.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5481, allocations: 12.06 kB / 0.7152 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5481, allocations: 4.047 kB / 0.7152 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5482, allocations: 7.984 kB / 0.7152 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.5488, allocations: 119.8 kB / 0.7154 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.55, allocations: 1.785 MB / 0.7171 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.5505, allocations: 75.44 kB / 0.7172 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.5506, allocations: 20 kB / 0.7172 GB, free: 100 kB / 0.545 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.0005989/0.5512, allocations: 381.4 kB / 0.7176 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.5514, allocations: 135.3 kB / 0.7177 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/0.5521, allocations: 347.3 kB / 0.718 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5521, allocations: 0 / 0.718 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5521, allocations: 7.938 kB / 0.718 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5521, allocations: 0 / 0.718 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.5531, allocations: 0.6827 MB / 0.7187 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5531, allocations: 0 / 0.7187 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.5535, allocations: 75.94 kB / 0.7188 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.5535, allocations: 4 kB / 0.7188 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.5535, allocations: 7.984 kB / 0.7188 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.5546, allocations: 1.789 MB / 0.7205 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5546, allocations: 3.938 kB / 0.7205 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.5554, allocations: 0.493 MB / 0.721 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.5558, allocations: 163.1 kB / 0.7212 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.5559, allocations: 11.94 kB / 0.7212 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.5564, allocations: 19.97 kB / 0.7212 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.5564, allocations: 7.984 kB / 0.7212 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.5565, allocations: 28.09 kB / 0.7212 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001865/0.5584, allocations: 1.37 MB / 0.7226 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5584, allocations: 0 / 0.7226 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007805/0.5591, allocations: 239.6 kB / 0.7228 GB, free: 10.21 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.0018/0.5609, allocations: 0.5006 MB / 0.7233 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007517/0.5617, allocations: 272.6 kB / 0.7235 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5617, allocations: 0 / 0.7235 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.562, allocations: 114.9 kB / 0.7237 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.5637, allocations: 398.8 kB / 0.724 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.5672, allocations: 2.146 MB / 0.7261 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009354/0.5682, allocations: 1.11 MB / 0.7272 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.5684, allocations: 83.42 kB / 0.7273 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.5684, allocations: 4 kB / 0.7273 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of Templates: time 0.2464/0.8148, allocations: 27.55 MB / 0.7542 GB, free: 184.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (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 & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.718664388987236] Failed to read output from testmodel.py, exit status != 0: 0.8232711619930342 0.831833356 0.30127049399999994 Calling exit ...