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.001176/0.001177, allocations: 106.1 kB / 17.74 MB, free: 5.359 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.001046/0.001046, allocations: 190.5 kB / 18.68 MB, free: 4.434 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.285/1.285, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2598/0.2598, allocations: 48.85 MB / 320.8 MB, free: 11.02 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.001426/0.001426, allocations: 71.89 kB / 451.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.09986, allocations: 59.16 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.374/0.4739, allocations: 170.6 MB / 0.665 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.4788, allocations: 3.891 MB / 0.6688 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.4792, allocations: 15.94 kB / 0.6688 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.4799, allocations: 274.3 kB / 0.6691 GB, free: 11.43 MB / 0.5137 GB [/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.0009244/0.4809, allocations: 0.5638 MB / 0.6697 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.4848, allocations: 1.646 MB / 0.6713 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.4862, allocations: 1.33 MB / 0.6726 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/0.4867, allocations: 405.6 kB / 0.673 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.4873, allocations: 0.5334 MB / 0.6735 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.4879, allocations: 0.5216 MB / 0.674 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.488, allocations: 60 kB / 0.674 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.4894, allocations: 0.6821 MB / 0.6747 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.4898, allocations: 474.8 kB / 0.6752 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.4903, allocations: 0.5359 MB / 0.6757 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.4918, allocations: 1.562 MB / 0.6772 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4918, allocations: 4 kB / 0.6772 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4918, allocations: 3.938 kB / 0.6772 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.4918, allocations: 0 / 0.6772 GB, free: 3.105 MB / 0.5137 GB 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.001902/0.4937, allocations: 1.475 MB / 0.6787 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4938, allocations: 15.89 kB / 0.6787 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006468/0.4944, allocations: 182.2 kB / 0.6788 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.4956, allocations: 0.8508 MB / 0.6797 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.4956, allocations: 37.31 kB / 0.6797 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/0.4957, allocations: 52 kB / 0.6798 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4969, allocations: 0.6276 MB / 0.6804 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4969, allocations: 4 kB / 0.6804 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.497, allocations: 29 kB / 0.6804 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.497, allocations: 12 kB / 0.6804 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.4977, allocations: 0.4892 MB / 0.6809 GB, free: 15.21 MB / 0.5294 GB 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.003715/0.5014, allocations: 2.545 MB / 0.6834 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.5018, allocations: 190.6 kB / 0.6836 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.5019, allocations: 80.83 kB / 0.6836 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.5021, allocations: 109 kB / 0.6837 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.5022, allocations: 42.56 kB / 0.6838 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.5022, allocations: 3.938 kB / 0.6838 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006478/0.5028, allocations: 352.4 kB / 0.6841 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.5029, allocations: 55.41 kB / 0.6842 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.5049, allocations: 1.878 MB / 0.686 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.5049, allocations: 33.69 kB / 0.686 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.5054, allocations: 0.5675 MB / 0.6866 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.5054, allocations: 67 kB / 0.6867 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.5056, allocations: 85.97 kB / 0.6867 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.5057, allocations: 322 kB / 0.687 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.5059, allocations: 138.6 kB / 0.6872 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.5061, allocations: 234.4 kB / 0.6874 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.5066, allocations: 343.6 kB / 0.6877 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5066, allocations: 0 / 0.6877 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007507/0.5073, allocations: 0.5 MB / 0.6882 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5074, allocations: 15.97 kB / 0.6882 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5074, allocations: 4 kB / 0.6882 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5074, allocations: 4 kB / 0.6882 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.5079, allocations: 119.9 kB / 0.6884 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009472/0.5089, allocations: 1.793 MB / 0.6901 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.5093, allocations: 67.27 kB / 0.6902 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.5094, allocations: 17.64 kB / 0.6902 GB, free: 5.266 MB / 0.5294 GB 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.0004298/0.5098, allocations: 378.4 kB / 0.6906 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.51, allocations: 126.7 kB / 0.6907 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.5106, allocations: 350.8 kB / 0.691 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5106, allocations: 0 / 0.691 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5106, allocations: 0 / 0.691 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.5109, allocations: 239.6 kB / 0.6912 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.511, allocations: 13.86 kB / 0.6912 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.5114, allocations: 15.98 kB / 0.6913 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.5115, allocations: 11.98 kB / 0.6913 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006686/0.5121, allocations: 355.3 kB / 0.6916 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000604/0.5127, allocations: 0.5461 MB / 0.6921 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001226/0.5129, allocations: 72.02 kB / 0.6922 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00154/0.5144, allocations: 1.353 MB / 0.6935 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of Backend: time 5.11e-07/0.5144, allocations: 3.938 kB / 0.6935 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.5168, allocations: 0.8541 MB / 0.6944 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003626/0.5204, allocations: 2.765 MB / 0.6971 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Templates: time 0.0287/0.5491, allocations: 19.39 MB / 0.716 GB, free: 10.66 MB / 0.5606 GB 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)