Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008789/0.0008849, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001192/0.001192, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.678/1.678, allocations: 205.4 MB / 223.4 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4501/0.4501, allocations: 48.78 MB / 320.4 MB, free: 3.805 MB / 254.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.0005735/0.0005739, allocations: 12 kB / 391.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 60.27 MB / 451.4 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4085/0.5489, allocations: 155.2 MB / 0.5924 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004705/0.5537, allocations: 3.684 MB / 0.596 GB, free: 14.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.554, allocations: 7.938 kB / 0.596 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.5546, allocations: 190.8 kB / 0.5962 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008657/0.5555, allocations: 0.5367 MB / 0.5967 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.5585, allocations: 1.204 MB / 0.5979 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.5602, allocations: 1.469 MB / 0.5993 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.5607, allocations: 343.7 kB / 0.5996 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006816/0.5614, allocations: 470.3 kB / 0.6001 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.562, allocations: 0.4983 MB / 0.6006 GB, free: 9.574 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.5621, allocations: 28 kB / 0.6006 GB, free: 9.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.5633, allocations: 0.5459 MB / 0.6011 GB, free: 9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.5637, allocations: 446.8 kB / 0.6015 GB, free: 8.562 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.5639, allocations: 217.1 kB / 0.6018 GB, free: 8.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5651, allocations: 1.144 MB / 0.6029 GB, free: 7.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5651, allocations: 7.875 kB / 0.6029 GB, free: 7.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5652, allocations: 4 kB / 0.6029 GB, free: 7.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.5652, allocations: 4 kB / 0.6029 GB, free: 7.184 MB / 478.1 MB 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.001949/0.5671, allocations: 1.257 MB / 0.6041 GB, free: 5.879 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5672, allocations: 11.97 kB / 0.6041 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/0.5679, allocations: 182.3 kB / 0.6043 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.5691, allocations: 0.8011 MB / 0.6051 GB, free: 4.832 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.5691, allocations: 37.31 kB / 0.6051 GB, free: 4.797 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/0.5692, allocations: 52 kB / 0.6052 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5702, allocations: 0.6254 MB / 0.6058 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5703, allocations: 0 / 0.6058 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.5703, allocations: 28 kB / 0.6058 GB, free: 4.082 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.5703, allocations: 12 kB / 0.6058 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.5711, allocations: 496.9 kB / 0.6063 GB, free: 3.586 MB / 478.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.00394/0.575, allocations: 2.576 MB / 0.6088 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.5753, allocations: 192.2 kB / 0.609 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.5754, allocations: 80.83 kB / 0.6091 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.5757, allocations: 109.1 kB / 0.6092 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.5758, allocations: 46.5 kB / 0.6092 GB, free: 404 kB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/0.5758, allocations: 0 / 0.6092 GB, free: 404 kB / 478.1 MB Notification: Performance of matching and sorting (n=20): time 0.000616/0.5764, allocations: 348.5 kB / 0.6095 GB, free: 48 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.5765, allocations: 55.41 kB / 0.6096 GB, free: 15.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.5786, allocations: 1.886 MB / 0.6114 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.5786, allocations: 33.7 kB / 0.6115 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.5791, allocations: 0.5557 MB / 0.612 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.5792, allocations: 87 kB / 0.6121 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.5792, allocations: 4 kB / 0.6121 GB, free: 13.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5793, allocations: 322 kB / 0.6124 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.5796, allocations: 137.6 kB / 0.6125 GB, free: 12.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.5799, allocations: 230 kB / 0.6128 GB, free: 12.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.5801, allocations: 150.4 kB / 0.6129 GB, free: 12.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5801, allocations: 4 kB / 0.6129 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007526/0.5809, allocations: 0.4959 MB / 0.6134 GB, free: 12.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5809, allocations: 8 kB / 0.6134 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5809, allocations: 4 kB / 0.6134 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.581, allocations: 4.562 kB / 0.6134 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.5816, allocations: 128.9 kB / 0.6135 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009571/0.5825, allocations: 1.789 MB / 0.6153 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.583, allocations: 67.2 kB / 0.6153 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.5831, allocations: 23.98 kB / 0.6154 GB, free: 9.922 MB / 494.1 MB 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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005377/0.5836, allocations: 386.5 kB / 0.6157 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.5838, allocations: 123.3 kB / 0.6159 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.5843, allocations: 354.4 kB / 0.6162 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5844, allocations: 7.984 kB / 0.6162 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5844, allocations: 3.938 kB / 0.6162 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5844, allocations: 0 / 0.6162 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007981/0.5852, allocations: 0.7026 MB / 0.6169 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5852, allocations: 0 / 0.6169 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.5856, allocations: 77.39 kB / 0.617 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5856, allocations: 0 / 0.617 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.5856, allocations: 4 kB / 0.617 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000901/0.5865, allocations: 1.778 MB / 0.6187 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5865, allocations: 0 / 0.6187 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.5871, allocations: 0.4921 MB / 0.6192 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.5874, allocations: 243.9 kB / 0.6194 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5875, allocations: 8 kB / 0.6194 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.5879, allocations: 23.94 kB / 0.6194 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.588, allocations: 19.95 kB / 0.6195 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.588, allocations: 17.61 kB / 0.6195 GB, free: 5.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.5895, allocations: 1.346 MB / 0.6208 GB, free: 4.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5895, allocations: 0 / 0.6208 GB, free: 4.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007806/0.5903, allocations: 231.8 kB / 0.621 GB, free: 3.961 MB / 494.1 MB 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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.5915, allocations: 479.5 kB / 0.6215 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007183/0.5923, allocations: 292.8 kB / 0.6218 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.5923, allocations: 4 kB / 0.6218 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.5926, allocations: 113.7 kB / 0.6219 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.5943, allocations: 374.4 kB / 0.6222 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.5973, allocations: 2.306 MB / 0.6245 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1971/0.7944, allocations: 1.11 MB / 0.6256 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008183/0.7952, allocations: 220.1 kB / 0.6258 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.7954, allocations: 78.94 kB / 0.6258 GB, free: 154.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/0.7954, allocations: 1.219 kB / 0.6258 GB, free: 154.1 MB / 494.1 MB Notification: Performance of Templates: time 0.0285/0.824, allocations: 16.53 MB / 0.642 GB, free: 152.2 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) Environment - environmentSimulation: