Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.001588/0.001588, allocations: 75.2 kB / 21.28 MB, free: 384 kB / 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.001412/0.001412, allocations: 163.8 kB / 24.53 MB, free: 3.59 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.405/1.405, allocations: 177.2 MB / 204.9 MB, free: 9.25 MB / 190.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.143/0.143, allocations: 19.71 MB / 281 MB, free: 13.03 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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [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.002139/0.002139, allocations: 71.89 kB / 417.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2848, allocations: 60.45 MB / 478 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1888/0.4735, allocations: 146.8 MB / 0.6102 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0058/0.4793, allocations: 3.474 MB / 0.6136 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.4798, allocations: 15.88 kB / 0.6136 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008551/0.4806, allocations: 258.3 kB / 0.6139 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.4819, allocations: 0.634 MB / 0.6145 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.4862, allocations: 1.631 MB / 0.6161 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.4881, allocations: 1.325 MB / 0.6174 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006004/0.4887, allocations: 369.8 kB / 0.6177 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.4898, allocations: 0.7284 MB / 0.6184 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/0.4905, allocations: 0.5332 MB / 0.619 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.924e-05/0.4906, allocations: 60 kB / 0.619 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.4932, allocations: 1.185 MB / 0.6202 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.4937, allocations: 478.6 kB / 0.6206 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.4942, allocations: 433.6 kB / 0.621 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002958/0.4971, allocations: 1.915 MB / 0.6229 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4971, allocations: 0 / 0.6229 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4971, allocations: 0 / 0.6229 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.4972, allocations: 0 / 0.6229 GB, free: 1.898 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00252/0.4997, allocations: 1.519 MB / 0.6244 GB, free: 352 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4997, allocations: 12.03 kB / 0.6244 GB, free: 340 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.5005, allocations: 195 kB / 0.6246 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.5019, allocations: 0.8023 MB / 0.6254 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.5019, allocations: 37.31 kB / 0.6254 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.502, allocations: 48 kB / 0.6255 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5033, allocations: 1.043 MB / 0.6265 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.5034, allocations: 8 kB / 0.6265 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.5034, allocations: 20 kB / 0.6265 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5034, allocations: 12 kB / 0.6265 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.5042, allocations: 476.9 kB / 0.627 GB, free: 13.55 MB / 0.5294 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.00416/0.5084, allocations: 1.842 MB / 0.6288 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.5086, allocations: 130.6 kB / 0.6289 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.5087, allocations: 44.84 kB / 0.6289 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.509, allocations: 55.95 kB / 0.629 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.509, allocations: 30.56 kB / 0.629 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.509, allocations: 0 / 0.629 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005525/0.5096, allocations: 276.8 kB / 0.6293 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.5096, allocations: 55.34 kB / 0.6293 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.5118, allocations: 1.71 MB / 0.631 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.5118, allocations: 33.7 kB / 0.631 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.5124, allocations: 0.6018 MB / 0.6316 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.5124, allocations: 47.64 kB / 0.6317 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.5126, allocations: 89.55 kB / 0.6318 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5127, allocations: 322 kB / 0.6321 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.513, allocations: 122.2 kB / 0.6322 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.5133, allocations: 251.1 kB / 0.6324 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.5137, allocations: 333.7 kB / 0.6327 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5137, allocations: 0 / 0.6327 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008368/0.5146, allocations: 495.8 kB / 0.6332 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5146, allocations: 4 kB / 0.6332 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5146, allocations: 8.562 kB / 0.6332 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.5146, allocations: 11.94 kB / 0.6332 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.5152, allocations: 115.8 kB / 0.6333 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008211/0.516, allocations: 1.188 MB / 0.6345 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.5164, allocations: 55.59 kB / 0.6346 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.5164, allocations: 20 kB / 0.6346 GB, free: 5.449 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000548/0.517, allocations: 381.7 kB / 0.6349 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.5171, allocations: 111.3 kB / 0.635 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.5176, allocations: 262.4 kB / 0.6353 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5176, allocations: 7.984 kB / 0.6353 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5176, allocations: 0 / 0.6353 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5176, allocations: 7.875 kB / 0.6353 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007835/0.5184, allocations: 0.5231 MB / 0.6358 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5184, allocations: 0 / 0.6358 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.5187, allocations: 51.91 kB / 0.6359 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5187, allocations: 4 kB / 0.6359 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.5187, allocations: 4 kB / 0.6359 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007509/0.5195, allocations: 1.191 MB / 0.637 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5195, allocations: 3.938 kB / 0.6371 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.52, allocations: 400.1 kB / 0.6374 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.5202, allocations: 135.3 kB / 0.6376 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.5203, allocations: 4 kB / 0.6376 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.5207, allocations: 15.98 kB / 0.6376 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.5207, allocations: 11.97 kB / 0.6376 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.5208, allocations: 16.23 kB / 0.6376 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001564/0.5223, allocations: 1.213 MB / 0.6388 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5223, allocations: 0 / 0.6388 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008584/0.5232, allocations: 263.3 kB / 0.639 GB, free: 0.7656 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/0.525, allocations: 0.5604 MB / 0.6396 GB, free: 364 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006271/0.5257, allocations: 236.5 kB / 0.6398 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5257, allocations: 320 / 0.6398 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.5259, allocations: 67.97 kB / 0.6399 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.201/0.7269, allocations: 189.8 kB / 0.6401 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.7308, allocations: 2.017 MB / 0.642 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.7313, allocations: 0.5001 MB / 0.6425 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.7315, allocations: 76.97 kB / 0.6426 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/0.7315, allocations: 0 / 0.6426 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.02665/0.7582, allocations: 22.2 MB / 0.6643 GB, free: 151.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.471568050095811] Failed to read output from testmodel.py, exit status != 0: 0.7666487919632345 0.775493396 0.275985239 Calling exit ...