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.001984/0.001984, allocations: 83.59 kB / 20.68 MB, free: 1.035 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.002418/0.002418, allocations: 168.2 kB / 23.96 MB, free: 4.16 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.211 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.1706/0.1706, allocations: 19.74 MB / 280.4 MB, free: 12.94 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 417 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.155e-05, allocations: 6.219 kB / 417 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.371/0.371, allocations: 146.8 MB / 0.5506 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005673/0.3767, allocations: 3.473 MB / 0.554 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004571/0.3771, allocations: 11.88 kB / 0.554 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009225/0.3781, allocations: 270.1 kB / 0.5543 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.3795, allocations: 0.6529 MB / 0.5549 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.3838, allocations: 1.638 MB / 0.5565 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.3857, allocations: 1.371 MB / 0.5579 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.3863, allocations: 365.7 kB / 0.5582 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.3877, allocations: 0.7091 MB / 0.5589 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.3886, allocations: 0.5065 MB / 0.5594 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.3887, allocations: 56 kB / 0.5595 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.3913, allocations: 1.188 MB / 0.5606 GB, free: 476 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005774/0.3919, allocations: 494.7 kB / 0.5611 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007472/0.3926, allocations: 358.9 kB / 0.5614 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.3959, allocations: 1.963 MB / 0.5634 GB, free: 13.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3959, allocations: 0 / 0.5634 GB, free: 13.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3959, allocations: 0 / 0.5634 GB, free: 13.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.77e-05/0.3959, allocations: 0 / 0.5634 GB, free: 13.66 MB / 462.1 MB 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.002776/0.3987, allocations: 1.519 MB / 0.5648 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3987, allocations: 8.031 kB / 0.5649 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/0.3996, allocations: 199 kB / 0.565 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.401, allocations: 0.7985 MB / 0.5658 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.401, allocations: 37.31 kB / 0.5659 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/0.4011, allocations: 50.81 kB / 0.5659 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.4026, allocations: 1.043 MB / 0.5669 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.4026, allocations: 7.953 kB / 0.5669 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.4027, allocations: 24 kB / 0.567 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.4027, allocations: 15.94 kB / 0.567 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008373/0.4035, allocations: 469 kB / 0.5674 GB, free: 9.316 MB / 462.1 MB 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.004554/0.4081, allocations: 1.839 MB / 0.5692 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.4084, allocations: 130.6 kB / 0.5693 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/0.4085, allocations: 44.78 kB / 0.5694 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.4087, allocations: 51.95 kB / 0.5694 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4087, allocations: 38.5 kB / 0.5695 GB, free: 7.148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.4087, allocations: 0 / 0.5695 GB, free: 7.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=13): time 0.000603/0.4093, allocations: 272.9 kB / 0.5697 GB, free: 6.875 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4094, allocations: 51.41 kB / 0.5698 GB, free: 6.812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.4117, allocations: 1.71 MB / 0.5714 GB, free: 5.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.4117, allocations: 29.7 kB / 0.5715 GB, free: 5.055 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.4123, allocations: 0.6018 MB / 0.5721 GB, free: 4.449 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.4123, allocations: 51.58 kB / 0.5721 GB, free: 4.398 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.4125, allocations: 89.55 kB / 0.5722 GB, free: 4.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4126, allocations: 321.9 kB / 0.5725 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.4128, allocations: 130.1 kB / 0.5726 GB, free: 3.855 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.4132, allocations: 247.2 kB / 0.5729 GB, free: 3.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.4136, allocations: 336.9 kB / 0.5732 GB, free: 3.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4136, allocations: 0 / 0.5732 GB, free: 3.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009326/0.4146, allocations: 488.7 kB / 0.5737 GB, free: 2.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4146, allocations: 8 kB / 0.5737 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4146, allocations: 4.875 kB / 0.5737 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.4146, allocations: 11.98 kB / 0.5737 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.4152, allocations: 104.8 kB / 0.5738 GB, free: 2.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/0.416, allocations: 1.2 MB / 0.5749 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.4165, allocations: 56.05 kB / 0.575 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.4165, allocations: 24 kB / 0.575 GB, free: 1.227 MB / 462.1 MB 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.0005595/0.4171, allocations: 380.2 kB / 0.5754 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.4173, allocations: 107.3 kB / 0.5755 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.4178, allocations: 273.8 kB / 0.5758 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4178, allocations: 0 / 0.5758 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4178, allocations: 0 / 0.5758 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4178, allocations: 4.094 kB / 0.5758 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.4186, allocations: 0.527 MB / 0.5763 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4186, allocations: 7.984 kB / 0.5763 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.419, allocations: 47.97 kB / 0.5763 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.419, allocations: 0 / 0.5763 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.419, allocations: 11.92 kB / 0.5763 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007327/0.4197, allocations: 1.187 MB / 0.5775 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4197, allocations: 0 / 0.5775 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.4203, allocations: 399.9 kB / 0.5779 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.4206, allocations: 135.3 kB / 0.578 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.4207, allocations: 8.188 kB / 0.578 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.4211, allocations: 19.98 kB / 0.578 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.4211, allocations: 11.97 kB / 0.578 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.4211, allocations: 11.98 kB / 0.5781 GB, free: 14.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001664/0.4228, allocations: 1.209 MB / 0.5792 GB, free: 12.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4228, allocations: 0 / 0.5792 GB, free: 12.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008817/0.4237, allocations: 263.3 kB / 0.5795 GB, free: 12.55 MB / 478.1 MB 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.002108/0.4258, allocations: 0.5482 MB / 0.58 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000663/0.4265, allocations: 243.8 kB / 0.5803 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4265, allocations: 0 / 0.5803 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.4267, allocations: 71.53 kB / 0.5803 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4277, allocations: 189.3 kB / 0.5805 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.431, allocations: 1.928 MB / 0.5824 GB, free: 9.707 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/0.4316, allocations: 0.5158 MB / 0.5829 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004753/0.4321, allocations: 190.6 kB / 0.5831 GB, free: 8.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.4323, allocations: 68.48 kB / 0.5831 GB, free: 8.906 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4323, allocations: 0 / 0.5831 GB, free: 8.906 MB / 478.1 MB Notification: Performance of Templates: time 0.02715/0.4594, allocations: 13.38 MB / 0.5962 GB, free: 11.63 MB / 494.1 MB " [Timeout remaining time 660] 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.3503370471298695] Failed to read output from testmodel.py, exit status != 0: 0.46961839869618416 0.484870774 0.085641754 Calling exit ...