Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008445/0.0008444, allocations: 91.88 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.264/0.264, allocations: 48.79 MB / 320.8 MB, free: 11.11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005614, allocations: 13.25 kB / 391.8 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.09021, allocations: 60.27 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3716/0.4618, allocations: 166.5 MB / 0.6041 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005912/0.4678, allocations: 3.98 MB / 0.6079 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007392/0.4686, allocations: 5.438 kB / 0.6079 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009766/0.4696, allocations: 244.4 kB / 0.6082 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.4709, allocations: 0.5372 MB / 0.6087 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.4749, allocations: 1.495 MB / 0.6102 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.4769, allocations: 1.721 MB / 0.6118 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000525/0.4774, allocations: 341.3 kB / 0.6122 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.4781, allocations: 465.5 kB / 0.6126 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006641/0.4788, allocations: 0.5196 MB / 0.6131 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.4788, allocations: 24.62 kB / 0.6131 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.4821, allocations: 1.69 MB / 0.6148 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004774/0.4826, allocations: 446.5 kB / 0.6152 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007519/0.4834, allocations: 0.5234 MB / 0.6157 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.4863, allocations: 1.951 MB / 0.6176 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4863, allocations: 2.969 kB / 0.6176 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4863, allocations: 0 / 0.6176 GB, free: 2.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.236e-05/0.4864, allocations: 0 / 0.6176 GB, free: 2.91 MB / 430.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.003112/0.4895, allocations: 1.314 MB / 0.6189 GB, free: 1.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4896, allocations: 10.81 kB / 0.6189 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.4907, allocations: 185.2 kB / 0.6191 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.4923, allocations: 0.8419 MB / 0.6199 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.4924, allocations: 40.19 kB / 0.62 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.4924, allocations: 48.5 kB / 0.62 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4935, allocations: 0.6131 MB / 0.6206 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.4936, allocations: 7.906 kB / 0.6206 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.4937, allocations: 27.81 kB / 0.6207 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4937, allocations: 11.28 kB / 0.6207 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.4945, allocations: 477.8 kB / 0.6211 GB, free: 0.5352 MB / 430.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.004815/0.4993, allocations: 2.592 MB / 0.6236 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.4996, allocations: 140.9 kB / 0.6238 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.4997, allocations: 56.62 kB / 0.6238 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.5, allocations: 123.1 kB / 0.624 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.5001, allocations: 37.06 kB / 0.624 GB, free: 14.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.5001, allocations: 0 / 0.624 GB, free: 14.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006682/0.5007, allocations: 278.1 kB / 0.6243 GB, free: 14.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5008, allocations: 58.25 kB / 0.6243 GB, free: 14.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.5032, allocations: 1.916 MB / 0.6262 GB, free: 12.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.5032, allocations: 29.7 kB / 0.6262 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.5037, allocations: 0.5789 MB / 0.6268 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.5038, allocations: 51.3 kB / 0.6268 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.5038, allocations: 37.64 kB / 0.6269 GB, free: 11.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.504, allocations: 322 kB / 0.6272 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.5042, allocations: 125.1 kB / 0.6273 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.5045, allocations: 243.5 kB / 0.6275 GB, free: 11.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.5049, allocations: 347.9 kB / 0.6279 GB, free: 10.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5049, allocations: 4 kB / 0.6279 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007715/0.5057, allocations: 495.7 kB / 0.6283 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5057, allocations: 8 kB / 0.6283 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5057, allocations: 4 kB / 0.6283 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5057, allocations: 8 kB / 0.6283 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.5063, allocations: 111.8 kB / 0.6285 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007096/0.507, allocations: 1.2 MB / 0.6296 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.5075, allocations: 67.27 kB / 0.6297 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.5076, allocations: 23.94 kB / 0.6297 GB, free: 8.73 MB / 446.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.0005108/0.5081, allocations: 389.6 kB / 0.6301 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5083, allocations: 118.5 kB / 0.6302 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.5088, allocations: 277.9 kB / 0.6305 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5088, allocations: 0 / 0.6305 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5088, allocations: 0 / 0.6305 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5088, allocations: 0 / 0.6305 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.5097, allocations: 0.6834 MB / 0.6311 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5097, allocations: 0.8125 kB / 0.6311 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.5099, allocations: 59.91 kB / 0.6312 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.51, allocations: 0 / 0.6312 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.51, allocations: 4 kB / 0.6312 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.5106, allocations: 1.187 MB / 0.6323 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5106, allocations: 4.188 kB / 0.6324 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.5111, allocations: 404.3 kB / 0.6327 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.5115, allocations: 243.7 kB / 0.633 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5116, allocations: 4 kB / 0.633 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.5121, allocations: 19.92 kB / 0.633 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.5121, allocations: 11.98 kB / 0.633 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.5122, allocations: 19.98 kB / 0.633 GB, free: 5.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.5139, allocations: 1.362 MB / 0.6344 GB, free: 3.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5139, allocations: 0 / 0.6344 GB, free: 3.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008173/0.5147, allocations: 235.7 kB / 0.6346 GB, free: 3.586 MB / 446.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.001397/0.5161, allocations: 0.5526 MB / 0.6351 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005731/0.5167, allocations: 239.7 kB / 0.6353 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5167, allocations: 0 / 0.6353 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.5169, allocations: 79.83 kB / 0.6354 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.5187, allocations: 357.8 kB / 0.6358 GB, free: 2.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.5218, allocations: 2.289 MB / 0.638 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.5226, allocations: 1.102 MB / 0.6391 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006633/0.5233, allocations: 232.4 kB / 0.6393 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.5234, allocations: 79.42 kB / 0.6394 GB, free: 14.61 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5234, allocations: 0 / 0.6394 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Templates: time 0.02908/0.5525, allocations: 16.53 MB / 0.6555 GB, free: 14.05 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) Environment - environmentSimulation: