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.001333/0.001333, 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.001409/0.001409, allocations: 161.7 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.409/1.409, allocations: 177.2 MB / 204.9 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.1428/0.1428, 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.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.002145/0.002145, allocations: 71.89 kB / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2861, allocations: 60.45 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1894/0.4754, allocations: 146.8 MB / 0.6102 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005523/0.481, allocations: 3.474 MB / 0.6136 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004944/0.4815, allocations: 19.88 kB / 0.6136 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008578/0.4823, allocations: 258.3 kB / 0.6139 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.4836, allocations: 0.6301 MB / 0.6145 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.4876, allocations: 1.635 MB / 0.6161 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.4893, allocations: 1.344 MB / 0.6174 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/0.4898, allocations: 369.8 kB / 0.6178 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009831/0.4908, allocations: 0.7362 MB / 0.6185 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006963/0.4915, allocations: 0.541 MB / 0.619 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-05/0.4916, allocations: 60 kB / 0.6191 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.4931, allocations: 0.6703 MB / 0.6197 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004515/0.4936, allocations: 470.7 kB / 0.6202 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.4941, allocations: 449.5 kB / 0.6206 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.4964, allocations: 1.607 MB / 0.6222 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4964, allocations: 7.984 kB / 0.6222 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4964, allocations: 0 / 0.6222 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.4964, allocations: 0 / 0.6222 GB, free: 2.656 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002277/0.4987, allocations: 1.463 MB / 0.6236 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4987, allocations: 12.03 kB / 0.6236 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007829/0.4995, allocations: 195 kB / 0.6238 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.5007, allocations: 0.8062 MB / 0.6246 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.5008, allocations: 41.31 kB / 0.6246 GB, free: 72 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.5008, allocations: 48 kB / 0.6247 GB, free: 24 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5022, allocations: 1.058 MB / 0.6257 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5022, allocations: 4 kB / 0.6257 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/0.5022, allocations: 24 kB / 0.6257 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5023, allocations: 12 kB / 0.6257 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.503, allocations: 488.9 kB / 0.6262 GB, free: 14.33 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.003884/0.5069, allocations: 1.827 MB / 0.628 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.5072, allocations: 181.8 kB / 0.6282 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.5074, allocations: 72.88 kB / 0.6282 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.5076, allocations: 47.83 kB / 0.6283 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.5076, allocations: 42.47 kB / 0.6283 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 2.334e-06/0.5076, allocations: 0 / 0.6283 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006834/0.5083, allocations: 337.2 kB / 0.6286 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.5084, allocations: 55.41 kB / 0.6287 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.5104, allocations: 1.681 MB / 0.6303 GB, free: 10 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.5105, allocations: 33.7 kB / 0.6304 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.511, allocations: 0.5746 MB / 0.6309 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.882e-05/0.5111, allocations: 83.44 kB / 0.631 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.5112, allocations: 86.02 kB / 0.6311 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5113, allocations: 321.9 kB / 0.6314 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.5116, allocations: 138.6 kB / 0.6315 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.5119, allocations: 234.7 kB / 0.6318 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.5124, allocations: 333.5 kB / 0.6321 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5124, allocations: 0 / 0.6321 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008585/0.5132, allocations: 0.4927 MB / 0.6326 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5132, allocations: 8 kB / 0.6326 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5132, allocations: 4 kB / 0.6326 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5133, allocations: 4 kB / 0.6326 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.5139, allocations: 119.9 kB / 0.6327 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.515, allocations: 1.798 MB / 0.6344 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.5154, allocations: 55.59 kB / 0.6345 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.5154, allocations: 16 kB / 0.6345 GB, free: 5.535 MB / 0.5294 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.0005334/0.516, allocations: 381.5 kB / 0.6349 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.5162, allocations: 111.2 kB / 0.635 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.5167, allocations: 329.8 kB / 0.6353 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5167, allocations: 0 / 0.6353 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5167, allocations: 8.094 kB / 0.6353 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.5168, allocations: 3.938 kB / 0.6353 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/0.5175, allocations: 0.5385 MB / 0.6358 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5175, allocations: 0 / 0.6358 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.5179, allocations: 79.89 kB / 0.6359 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5179, allocations: 0 / 0.6359 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.5179, allocations: 7.984 kB / 0.6359 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.519, allocations: 1.778 MB / 0.6377 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.519, allocations: 0 / 0.6377 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/0.5197, allocations: 483.8 kB / 0.6381 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.5199, allocations: 139.3 kB / 0.6382 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.52, allocations: 4 kB / 0.6383 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.5204, allocations: 23.97 kB / 0.6383 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.5204, allocations: 11.92 kB / 0.6383 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.5205, allocations: 23.97 kB / 0.6383 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001529/0.522, allocations: 1.193 MB / 0.6395 GB, free: 324 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.522, allocations: 0 / 0.6395 GB, free: 324 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007933/0.5228, allocations: 271.4 kB / 0.6397 GB, free: 52 kB / 0.5294 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.2039/0.7267, allocations: 0.5176 MB / 0.6402 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000891/0.7276, allocations: 273.4 kB / 0.6405 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7276, allocations: 1.375 kB / 0.6405 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.7279, allocations: 108 kB / 0.6406 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.7291, allocations: 213.1 kB / 0.6408 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.7322, allocations: 2.123 MB / 0.6429 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.7327, allocations: 0.5138 MB / 0.6434 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.7328, allocations: 68.41 kB / 0.6434 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.7328, allocations: 0 / 0.6434 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.02463/0.7575, allocations: 25.5 MB / 0.6683 GB, free: 147.5 MB / 0.5294 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: 9.787525672931224] Failed to read output from testmodel.py, exit status != 0: 0.7656877050176263 0.774325296 0.27562332900000003 Calling exit ...