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.00106/0.00106, allocations: 110.8 kB / 17.29 MB, free: 6.215 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.001043/0.001043, allocations: 193.3 kB / 18.21 MB, free: 5.293 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.291/1.291, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2506/0.2506, allocations: 48.85 MB / 320.2 MB, free: 11.26 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.001277/0.001277, allocations: 68.55 kB / 390.2 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08624/0.08752, allocations: 59.16 MB / 449.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3364/0.424, allocations: 168.5 MB / 0.6034 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.4288, allocations: 3.92 MB / 0.6072 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.4293, allocations: 9.188 kB / 0.6072 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007593/0.4301, allocations: 238.4 kB / 0.6075 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009458/0.431, allocations: 0.5308 MB / 0.608 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.4345, allocations: 1.543 MB / 0.6095 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.436, allocations: 1.322 MB / 0.6108 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00048/0.4364, allocations: 391.9 kB / 0.6112 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006422/0.4371, allocations: 0.5204 MB / 0.6117 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.4376, allocations: 0.5458 MB / 0.6122 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.4377, allocations: 55.69 kB / 0.6123 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.4402, allocations: 1.548 MB / 0.6138 GB, free: 224 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.4406, allocations: 470.7 kB / 0.6142 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.4411, allocations: 0.534 MB / 0.6147 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.4427, allocations: 1.442 MB / 0.6161 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4427, allocations: 4 kB / 0.6161 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.4427, allocations: 0 / 0.6161 GB, free: 14.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4428, allocations: 2.281 kB / 0.6161 GB, free: 14.74 MB / 446.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.002105/0.4449, allocations: 1.53 MB / 0.6176 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.4449, allocations: 17.42 kB / 0.6177 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/0.4456, allocations: 181.3 kB / 0.6178 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4467, allocations: 0.8446 MB / 0.6187 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.4467, allocations: 39.62 kB / 0.6187 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.4468, allocations: 52.33 kB / 0.6187 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.4477, allocations: 0.6071 MB / 0.6193 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4477, allocations: 6.125 kB / 0.6193 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.4478, allocations: 27.22 kB / 0.6194 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4478, allocations: 14.12 kB / 0.6194 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.4484, allocations: 476.7 kB / 0.6198 GB, free: 12.22 MB / 446.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.003939/0.4524, allocations: 2.601 MB / 0.6224 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.4526, allocations: 142.6 kB / 0.6225 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.4527, allocations: 52.84 kB / 0.6226 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.453, allocations: 121.1 kB / 0.6227 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.453, allocations: 42.56 kB / 0.6227 GB, free: 9.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.453, allocations: 0 / 0.6227 GB, free: 9.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.000506/0.4535, allocations: 272.2 kB / 0.623 GB, free: 8.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.4536, allocations: 59.33 kB / 0.623 GB, free: 8.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.4556, allocations: 1.91 MB / 0.6249 GB, free: 6.941 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.4556, allocations: 29.7 kB / 0.6249 GB, free: 6.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.4561, allocations: 0.5789 MB / 0.6255 GB, free: 6.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.4561, allocations: 47.3 kB / 0.6255 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4562, allocations: 85.59 kB / 0.6256 GB, free: 6.188 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4564, allocations: 322 kB / 0.6259 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.4566, allocations: 122.3 kB / 0.626 GB, free: 5.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.4568, allocations: 243.5 kB / 0.6263 GB, free: 5.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.4572, allocations: 337.6 kB / 0.6266 GB, free: 5.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.4572, allocations: 8 kB / 0.6266 GB, free: 5.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007364/0.458, allocations: 491.6 kB / 0.6271 GB, free: 4.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.458, allocations: 8.562 kB / 0.6271 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.458, allocations: 8 kB / 0.6271 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.458, allocations: 8.75 kB / 0.6271 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.4585, allocations: 119.3 kB / 0.6272 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006201/0.4592, allocations: 1.192 MB / 0.6284 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.4597, allocations: 79.38 kB / 0.6285 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.4597, allocations: 23.94 kB / 0.6285 GB, free: 3.078 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.0004593/0.4602, allocations: 385.3 kB / 0.6288 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.4604, allocations: 122.5 kB / 0.629 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.4608, allocations: 268.9 kB / 0.6292 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4608, allocations: 8 kB / 0.6292 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4608, allocations: 0 / 0.6292 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4608, allocations: 4.078 kB / 0.6292 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.4616, allocations: 0.6756 MB / 0.6299 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4616, allocations: 0 / 0.6299 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.4619, allocations: 62.7 kB / 0.6299 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4619, allocations: 0 / 0.6299 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4619, allocations: 4 kB / 0.63 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005738/0.4625, allocations: 1.188 MB / 0.6311 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4625, allocations: 0 / 0.6311 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.463, allocations: 409.2 kB / 0.6315 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.4633, allocations: 235.5 kB / 0.6317 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4634, allocations: 12.23 kB / 0.6317 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.4638, allocations: 15.98 kB / 0.6318 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.4639, allocations: 7.984 kB / 0.6318 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.4639, allocations: 16.86 kB / 0.6318 GB, free: 15.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001521/0.4654, allocations: 1.362 MB / 0.6331 GB, free: 14.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4654, allocations: 0 / 0.6331 GB, free: 14.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007724/0.4662, allocations: 235.8 kB / 0.6333 GB, free: 13.95 MB / 462.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.001261/0.4675, allocations: 0.54 MB / 0.6339 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005793/0.4681, allocations: 252.3 kB / 0.6341 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4681, allocations: 256 / 0.6341 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4683, allocations: 71.91 kB / 0.6342 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.4698, allocations: 368.6 kB / 0.6345 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.4726, allocations: 2.282 MB / 0.6367 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.4732, allocations: 1.094 MB / 0.6378 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4734, allocations: 83.42 kB / 0.6379 GB, free: 9.203 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4734, allocations: 4 kB / 0.6379 GB, free: 9.199 MB / 462.1 MB Notification: Performance of Templates: time 0.02789/0.5013, allocations: 23.5 MB / 0.6609 GB, free: 1.66 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (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)