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.001305/0.001305, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.001431/0.001431, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.564/1.564, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.301/0.301, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.00149/0.00149, allocations: 73.95 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 59.16 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.5215/0.6245, allocations: 170.6 MB / 0.6068 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.6303, allocations: 3.898 MB / 0.6106 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005084/0.6308, allocations: 9.188 kB / 0.6106 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.6316, allocations: 279.6 kB / 0.6108 GB, free: 1.324 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001014/0.6327, allocations: 0.5652 MB / 0.6114 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.6366, allocations: 1.651 MB / 0.613 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.6382, allocations: 1.326 MB / 0.6143 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.6387, allocations: 400.8 kB / 0.6147 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.6394, allocations: 0.5177 MB / 0.6152 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.6399, allocations: 0.5238 MB / 0.6157 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.64, allocations: 58.16 kB / 0.6158 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.6414, allocations: 0.6874 MB / 0.6164 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.6418, allocations: 471.6 kB / 0.6169 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.6423, allocations: 0.5403 MB / 0.6174 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.6439, allocations: 1.554 MB / 0.6189 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.644, allocations: 0 / 0.6189 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.644, allocations: 7.938 kB / 0.6189 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.644, allocations: 2.812 kB / 0.6189 GB, free: 12.19 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002154/0.6462, allocations: 1.474 MB / 0.6204 GB, free: 11.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6462, allocations: 14.17 kB / 0.6204 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.6469, allocations: 185.6 kB / 0.6206 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.6482, allocations: 0.8454 MB / 0.6214 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.6482, allocations: 37.97 kB / 0.6214 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.6483, allocations: 52.47 kB / 0.6215 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.6493, allocations: 0.628 MB / 0.6221 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.6493, allocations: 2.812 kB / 0.6221 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.6494, allocations: 32.64 kB / 0.6221 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6494, allocations: 15.25 kB / 0.6221 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007089/0.6501, allocations: 498.5 kB / 0.6226 GB, free: 9.691 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.004221/0.6543, allocations: 2.553 MB / 0.6251 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.6547, allocations: 202.6 kB / 0.6253 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.6548, allocations: 84.77 kB / 0.6254 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.6551, allocations: 101.1 kB / 0.6255 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.6551, allocations: 46.55 kB / 0.6255 GB, free: 6.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.6551, allocations: 0 / 0.6255 GB, free: 6.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006506/0.6558, allocations: 354.8 kB / 0.6259 GB, free: 6.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.6559, allocations: 55.41 kB / 0.6259 GB, free: 6.395 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.6581, allocations: 1.878 MB / 0.6277 GB, free: 4.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.6581, allocations: 33.7 kB / 0.6278 GB, free: 4.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.6586, allocations: 0.5675 MB / 0.6283 GB, free: 3.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.6586, allocations: 67 kB / 0.6284 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.6588, allocations: 89.91 kB / 0.6285 GB, free: 3.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6589, allocations: 325.9 kB / 0.6288 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.6591, allocations: 138.5 kB / 0.6289 GB, free: 3.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.6594, allocations: 230 kB / 0.6291 GB, free: 2.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.6599, allocations: 337.4 kB / 0.6295 GB, free: 2.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6599, allocations: 0 / 0.6295 GB, free: 2.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008374/0.6608, allocations: 0.4963 MB / 0.6299 GB, free: 2.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6608, allocations: 8.438 kB / 0.63 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6608, allocations: 8 kB / 0.63 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6608, allocations: 4 kB / 0.63 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.6614, allocations: 123.8 kB / 0.6301 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000904/0.6623, allocations: 1.787 MB / 0.6318 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.6628, allocations: 71.2 kB / 0.6319 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.6628, allocations: 16 kB / 0.6319 GB, free: 28 kB / 446.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 (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005149/0.6634, allocations: 385.4 kB / 0.6323 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6636, allocations: 122.5 kB / 0.6324 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.6641, allocations: 341 kB / 0.6327 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6641, allocations: 0 / 0.6327 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6641, allocations: 2.125 kB / 0.6327 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6641, allocations: 3.938 kB / 0.6327 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/0.665, allocations: 0.7027 MB / 0.6334 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.665, allocations: 0 / 0.6334 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.6653, allocations: 77.05 kB / 0.6335 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6654, allocations: 4 kB / 0.6335 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6654, allocations: 3.984 kB / 0.6335 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009127/0.6663, allocations: 1.781 MB / 0.6352 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6663, allocations: 7.281 kB / 0.6352 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.667, allocations: 0.4891 MB / 0.6357 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.6674, allocations: 235.6 kB / 0.6359 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6676, allocations: 7.984 kB / 0.6359 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.668, allocations: 15.98 kB / 0.636 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.6681, allocations: 15.92 kB / 0.636 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/0.6681, allocations: 27.95 kB / 0.636 GB, free: 11.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00164/0.6698, allocations: 1.35 MB / 0.6373 GB, free: 10.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6698, allocations: 0 / 0.6373 GB, free: 10.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007604/0.6705, allocations: 231.8 kB / 0.6375 GB, free: 10.08 MB / 462.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 (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.6717, allocations: 0.4977 MB / 0.638 GB, free: 9.582 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006633/0.6724, allocations: 283.6 kB / 0.6383 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6724, allocations: 4.875 kB / 0.6383 GB, free: 9.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.6727, allocations: 111.9 kB / 0.6384 GB, free: 9.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.6742, allocations: 380.3 kB / 0.6388 GB, free: 8.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.6771, allocations: 2.036 MB / 0.6408 GB, free: 6.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.6779, allocations: 1.114 MB / 0.6419 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005995/0.6785, allocations: 224.5 kB / 0.6421 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6787, allocations: 83.42 kB / 0.6421 GB, free: 5.301 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6787, allocations: 0 / 0.6421 GB, free: 5.301 MB / 462.1 MB Notification: Performance of Templates: time 0.02935/0.708, allocations: 17.97 MB / 0.6597 GB, free: 3.305 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile (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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)