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.001883/0.001883, allocations: 82 kB / 20.53 MB, free: 1.344 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.002238/0.002238, allocations: 164.2 kB / 23.78 MB, free: 4.516 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.457/1.457, allocations: 177.2 MB / 204.2 MB, free: 9.254 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.1396/0.1396, allocations: 19.71 MB / 280.3 MB, free: 13.02 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.001986/0.001986, allocations: 67.89 kB / 416.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2796, allocations: 60.45 MB / 477.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1971/0.4767, allocations: 146.8 MB / 0.6095 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005672/0.4824, allocations: 3.486 MB / 0.6129 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.4828, allocations: 11.88 kB / 0.6129 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008419/0.4836, allocations: 258.3 kB / 0.6131 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.4849, allocations: 0.634 MB / 0.6138 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.4892, allocations: 1.619 MB / 0.6153 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.4909, allocations: 1.34 MB / 0.6166 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005971/0.4915, allocations: 365.8 kB / 0.617 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.4926, allocations: 0.7245 MB / 0.6177 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.4932, allocations: 0.5371 MB / 0.6182 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.4933, allocations: 60 kB / 0.6183 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.4958, allocations: 1.189 MB / 0.6194 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.4963, allocations: 466.7 kB / 0.6199 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.4968, allocations: 445.6 kB / 0.6203 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.4994, allocations: 1.908 MB / 0.6222 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4994, allocations: 0 / 0.6222 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4994, allocations: 4 kB / 0.6222 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.4994, allocations: 0 / 0.6222 GB, free: 1.875 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.002445/0.5018, allocations: 1.519 MB / 0.6237 GB, free: 328 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5019, allocations: 12.03 kB / 0.6237 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007896/0.5027, allocations: 195 kB / 0.6239 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.5039, allocations: 0.8023 MB / 0.6246 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.504, allocations: 37.31 kB / 0.6247 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.5041, allocations: 48 kB / 0.6247 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5054, allocations: 1.043 MB / 0.6257 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5054, allocations: 0 / 0.6257 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.5055, allocations: 28 kB / 0.6258 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.5055, allocations: 15.94 kB / 0.6258 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.5063, allocations: 476.9 kB / 0.6262 GB, free: 13.52 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.004139/0.5104, allocations: 1.838 MB / 0.628 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.5107, allocations: 130.6 kB / 0.6282 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.575e-05/0.5108, allocations: 48.83 kB / 0.6282 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.511, allocations: 47.95 kB / 0.6283 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.5111, allocations: 34.56 kB / 0.6283 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.5111, allocations: 3.938 kB / 0.6283 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005857/0.5117, allocations: 280.8 kB / 0.6286 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.5117, allocations: 55.34 kB / 0.6286 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.5139, allocations: 1.706 MB / 0.6303 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.5139, allocations: 37.69 kB / 0.6303 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.5144, allocations: 0.6018 MB / 0.6309 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.5145, allocations: 47.64 kB / 0.6309 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.5146, allocations: 85.55 kB / 0.631 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5148, allocations: 322 kB / 0.6313 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.515, allocations: 118.2 kB / 0.6314 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.5153, allocations: 259.1 kB / 0.6317 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.5158, allocations: 333.7 kB / 0.632 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5158, allocations: 0 / 0.632 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008346/0.5166, allocations: 487.9 kB / 0.6325 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5167, allocations: 8 kB / 0.6325 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5167, allocations: 4 kB / 0.6325 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.5167, allocations: 11.94 kB / 0.6325 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.5172, allocations: 111.8 kB / 0.6326 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008229/0.518, allocations: 1.196 MB / 0.6338 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.5184, allocations: 55.59 kB / 0.6338 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.5185, allocations: 20 kB / 0.6338 GB, free: 5.426 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.0005247/0.519, allocations: 381.5 kB / 0.6342 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.5192, allocations: 107.3 kB / 0.6343 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.5196, allocations: 259.4 kB / 0.6346 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5196, allocations: 0 / 0.6346 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5196, allocations: 4 kB / 0.6346 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.5196, allocations: 12.02 kB / 0.6346 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.5204, allocations: 0.5271 MB / 0.6351 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5204, allocations: 0 / 0.6351 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.5207, allocations: 55.89 kB / 0.6351 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5207, allocations: 0 / 0.6351 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.5207, allocations: 8 kB / 0.6351 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00074/0.5214, allocations: 1.191 MB / 0.6363 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5214, allocations: 0 / 0.6363 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.5219, allocations: 404.3 kB / 0.6367 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.5222, allocations: 131.3 kB / 0.6368 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.5223, allocations: 4 kB / 0.6368 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.5226, allocations: 11.98 kB / 0.6368 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.5227, allocations: 15.98 kB / 0.6369 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.5227, allocations: 15.97 kB / 0.6369 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001622/0.5243, allocations: 1.205 MB / 0.638 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5243, allocations: 0 / 0.638 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008769/0.5252, allocations: 263.3 kB / 0.6383 GB, free: 0.75 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.001965/0.5272, allocations: 0.5633 MB / 0.6388 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.5278, allocations: 235.6 kB / 0.6391 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5278, allocations: 0 / 0.6391 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.5279, allocations: 63.97 kB / 0.6391 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2122/0.7402, allocations: 190 kB / 0.6393 GB, free: 170 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.7435, allocations: 1.98 MB / 0.6412 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.744, allocations: 0.517 MB / 0.6418 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004372/0.7445, allocations: 190.4 kB / 0.6419 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.7446, allocations: 61.53 kB / 0.642 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.7446, allocations: 0 / 0.642 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.02044/0.7651, allocations: 13.41 MB / 0.6551 GB, free: 159.9 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: 5.613293392583728] Failed to read output from testmodel.py, exit status != 0: 0.7734011672437191 0.78227079 0.280619041 Calling exit ...