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.000888/0.000888, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001035/0.001035, allocations: 180.7 kB / 17.21 MB, free: 6.336 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.538/1.538, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3053/0.3053, allocations: 48.78 MB / 320.4 MB, free: 11.22 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.0005611/0.0005614, allocations: 12.17 kB / 391.2 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 60.28 MB / 451.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4728/0.6003, allocations: 155.1 MB / 0.5924 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.6056, allocations: 3.695 MB / 0.596 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.6061, allocations: 9.125 kB / 0.596 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000743/0.6069, allocations: 187.2 kB / 0.5962 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.6079, allocations: 0.5356 MB / 0.5967 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.6116, allocations: 1.213 MB / 0.5979 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.6134, allocations: 1.456 MB / 0.5993 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.6139, allocations: 335 kB / 0.5996 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006658/0.6146, allocations: 461.5 kB / 0.6 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.6151, allocations: 495.4 kB / 0.6005 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.6152, allocations: 27.56 kB / 0.6005 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.6178, allocations: 1.103 MB / 0.6016 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.6182, allocations: 444.2 kB / 0.602 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.6184, allocations: 215.1 kB / 0.6022 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.6202, allocations: 1.374 MB / 0.6036 GB, free: 9.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.6202, allocations: 0 / 0.6036 GB, free: 9.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.6202, allocations: 0 / 0.6036 GB, free: 9.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.6203, allocations: 3.938 kB / 0.6036 GB, free: 9.621 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.002071/0.6223, allocations: 1.318 MB / 0.6049 GB, free: 8.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.6224, allocations: 7.969 kB / 0.6049 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007397/0.6231, allocations: 192.9 kB / 0.6051 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6243, allocations: 0.7986 MB / 0.6059 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.6243, allocations: 34.12 kB / 0.6059 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.6244, allocations: 50.75 kB / 0.6059 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008993/0.6253, allocations: 0.6092 MB / 0.6065 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.6253, allocations: 0 / 0.6065 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.6254, allocations: 24.31 kB / 0.6065 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.6254, allocations: 13.78 kB / 0.6066 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.6261, allocations: 476.8 kB / 0.607 GB, free: 7.871 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.003878/0.63, allocations: 2.608 MB / 0.6096 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.6302, allocations: 141.1 kB / 0.6097 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.6303, allocations: 53.52 kB / 0.6097 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.6306, allocations: 122.5 kB / 0.6099 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.6306, allocations: 43.61 kB / 0.6099 GB, free: 6.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 2.305e-06/0.6306, allocations: 0 / 0.6099 GB, free: 6.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005081/0.6311, allocations: 276.4 kB / 0.6102 GB, free: 5.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.6312, allocations: 58.62 kB / 0.6102 GB, free: 5.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.6334, allocations: 1.9 MB / 0.6121 GB, free: 5.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.6334, allocations: 28.67 kB / 0.6121 GB, free: 5.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.6339, allocations: 0.5857 MB / 0.6127 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.634, allocations: 52.06 kB / 0.6127 GB, free: 5.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.634, allocations: 8.812 kB / 0.6127 GB, free: 5.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6342, allocations: 321.8 kB / 0.613 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.6344, allocations: 123.6 kB / 0.6132 GB, free: 4.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.6347, allocations: 253.8 kB / 0.6134 GB, free: 4.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.6349, allocations: 132.3 kB / 0.6135 GB, free: 4.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6349, allocations: 2.938 kB / 0.6135 GB, free: 4.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008051/0.6357, allocations: 0.4902 MB / 0.614 GB, free: 4.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6358, allocations: 5.125 kB / 0.614 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.6358, allocations: 5.75 kB / 0.614 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.6358, allocations: 8 kB / 0.614 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.6363, allocations: 113 kB / 0.6141 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007413/0.6371, allocations: 1.191 MB / 0.6153 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.6376, allocations: 77.03 kB / 0.6154 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.6377, allocations: 19.81 kB / 0.6154 GB, free: 3.172 MB / 430.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004848/0.6382, allocations: 388.2 kB / 0.6158 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.6383, allocations: 119.9 kB / 0.6159 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.6387, allocations: 278.3 kB / 0.6161 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6388, allocations: 0 / 0.6161 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6388, allocations: 2.562 kB / 0.6161 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6388, allocations: 3.938 kB / 0.6162 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.6395, allocations: 0.6809 MB / 0.6168 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.6395, allocations: 4 kB / 0.6168 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.6398, allocations: 44.44 kB / 0.6169 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6398, allocations: 0 / 0.6169 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6398, allocations: 14.42 kB / 0.6169 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006633/0.6405, allocations: 1.186 MB / 0.618 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6405, allocations: 0 / 0.618 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.641, allocations: 399.8 kB / 0.6184 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.6413, allocations: 245.8 kB / 0.6187 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6414, allocations: 8.672 kB / 0.6187 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.6418, allocations: 30.66 kB / 0.6187 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.6418, allocations: 10.83 kB / 0.6187 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.6419, allocations: 16.14 kB / 0.6187 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001482/0.6434, allocations: 1.361 MB / 0.62 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6434, allocations: 0 / 0.62 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007534/0.6441, allocations: 239.5 kB / 0.6203 GB, free: 500 kB / 430.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.6453, allocations: 0.5046 MB / 0.6208 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.6459, allocations: 246.4 kB / 0.621 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6459, allocations: 1.125 kB / 0.621 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.6461, allocations: 72.8 kB / 0.6211 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.6476, allocations: 349.1 kB / 0.6214 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.6507, allocations: 2.178 MB / 0.6235 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.6514, allocations: 1.105 MB / 0.6246 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006925/0.6521, allocations: 216.5 kB / 0.6248 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.6523, allocations: 82.61 kB / 0.6249 GB, free: 12.39 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6523, allocations: 7.938 kB / 0.6249 GB, free: 12.38 MB / 446.1 MB Notification: Performance of Templates: time 0.02726/0.6796, allocations: 16.1 MB / 0.6406 GB, free: 12.27 MB / 462.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: