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.0011/0.0011, allocations: 89.78 kB / 16.65 MB, free: 6.535 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.001354/0.001354, allocations: 173.5 kB / 17.56 MB, free: 6.184 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.345/1.345, allocations: 205.4 MB / 223.7 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2955/0.2955, 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.0005626/0.000563, allocations: 13.05 kB / 391.8 MB, free: 50.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 60.27 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4414/0.546, allocations: 166.5 MB / 0.6041 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005942/0.552, allocations: 3.986 MB / 0.608 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.5526, allocations: 7.188 kB / 0.608 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.5536, allocations: 248.1 kB / 0.6082 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.5546, allocations: 0.545 MB / 0.6087 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.5583, allocations: 1.487 MB / 0.6102 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.5602, allocations: 1.728 MB / 0.6119 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.5607, allocations: 352.2 kB / 0.6122 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007706/0.5615, allocations: 465.5 kB / 0.6126 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.5622, allocations: 0.5216 MB / 0.6132 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.5623, allocations: 27.66 kB / 0.6132 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.5639, allocations: 0.8284 MB / 0.614 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.5643, allocations: 451.7 kB / 0.6144 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.5648, allocations: 0.5209 MB / 0.6149 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.5664, allocations: 1.547 MB / 0.6164 GB, free: 3.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5665, allocations: 3.938 kB / 0.6164 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5665, allocations: 0 / 0.6164 GB, free: 3.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5665, allocations: 0 / 0.6164 GB, free: 3.691 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00188/0.5684, allocations: 1.263 MB / 0.6177 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5684, allocations: 10.84 kB / 0.6177 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.5692, allocations: 182.4 kB / 0.6179 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.5704, allocations: 0.8454 MB / 0.6187 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.5704, allocations: 39.09 kB / 0.6187 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.5705, allocations: 52.84 kB / 0.6188 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009455/0.5715, allocations: 0.6291 MB / 0.6194 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.5715, allocations: 0 / 0.6194 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.5716, allocations: 26.09 kB / 0.6194 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.5716, allocations: 13.34 kB / 0.6194 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.5724, allocations: 498.2 kB / 0.6199 GB, free: 1.336 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.004129/0.5765, allocations: 2.574 MB / 0.6224 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.5769, allocations: 202.4 kB / 0.6226 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.577, allocations: 79.36 kB / 0.6227 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.5773, allocations: 112.6 kB / 0.6228 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5773, allocations: 37.19 kB / 0.6228 GB, free: 15.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.5773, allocations: 0 / 0.6228 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006742/0.578, allocations: 364.6 kB / 0.6232 GB, free: 14.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.5781, allocations: 54.25 kB / 0.6232 GB, free: 14.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.5802, allocations: 1.875 MB / 0.6251 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.5803, allocations: 33.7 kB / 0.6251 GB, free: 13.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.5808, allocations: 0.5713 MB / 0.6256 GB, free: 13.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.5808, allocations: 78.86 kB / 0.6257 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.5809, allocations: 37.7 kB / 0.6258 GB, free: 13.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5811, allocations: 325.9 kB / 0.6261 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.5813, allocations: 141.6 kB / 0.6262 GB, free: 12.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.5816, allocations: 226 kB / 0.6264 GB, free: 12.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.5821, allocations: 346.4 kB / 0.6267 GB, free: 12.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5821, allocations: 4 kB / 0.6268 GB, free: 12.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008306/0.5829, allocations: 0.4958 MB / 0.6272 GB, free: 11.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5829, allocations: 11.94 kB / 0.6272 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.583, allocations: 4.812 kB / 0.6273 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.583, allocations: 4 kB / 0.6273 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.5836, allocations: 117.1 kB / 0.6274 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/0.5845, allocations: 1.797 MB / 0.6291 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.5851, allocations: 75.25 kB / 0.6292 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.5851, allocations: 23.97 kB / 0.6292 GB, free: 9.414 MB / 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.0005105/0.5857, allocations: 381.4 kB / 0.6296 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.5858, allocations: 122.5 kB / 0.6297 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005723/0.5864, allocations: 349.6 kB / 0.63 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5864, allocations: 4 kB / 0.63 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5865, allocations: 3.984 kB / 0.63 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.5865, allocations: 0 / 0.63 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008525/0.5873, allocations: 0.7026 MB / 0.6307 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5873, allocations: 0 / 0.6307 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.5877, allocations: 71.95 kB / 0.6308 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5877, allocations: 0 / 0.6308 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.5877, allocations: 4 kB / 0.6308 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008226/0.5886, allocations: 1.785 MB / 0.6325 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.5886, allocations: 8.094 kB / 0.6326 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.5892, allocations: 496.2 kB / 0.633 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.5895, allocations: 247.5 kB / 0.6333 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.5896, allocations: 8 kB / 0.6333 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.5901, allocations: 23.98 kB / 0.6333 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.5902, allocations: 15.97 kB / 0.6333 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.5902, allocations: 23.98 kB / 0.6333 GB, free: 5.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001657/0.5919, allocations: 1.346 MB / 0.6346 GB, free: 3.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.5919, allocations: 0 / 0.6346 GB, free: 3.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007719/0.5927, allocations: 239.7 kB / 0.6349 GB, free: 3.441 MB / 446.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.001268/0.594, allocations: 0.4972 MB / 0.6354 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006877/0.5947, allocations: 284.3 kB / 0.6356 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5947, allocations: 4.25 kB / 0.6356 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.595, allocations: 107.9 kB / 0.6357 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.5968, allocations: 372.6 kB / 0.6361 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.5998, allocations: 2.423 MB / 0.6385 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.6005, allocations: 1.11 MB / 0.6395 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006837/0.6012, allocations: 228.6 kB / 0.6398 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.6014, allocations: 75.38 kB / 0.6398 GB, free: 14.29 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6014, allocations: 0 / 0.6398 GB, free: 14.29 MB / 462.1 MB Notification: Performance of Templates: time 0.03032/0.6318, allocations: 16.96 MB / 0.6564 GB, free: 13.3 MB / 478.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: