Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.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.TestTurboJetInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia") translateModel(ThermoPower.Test.GasComponents.TestTurboJetInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001315/0.001315, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2785/0.2785, allocations: 48.84 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.001342/0.001342, allocations: 67.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestTurboJetInertia): time 0.4629/0.5786, allocations: 233 MB / 0.7259 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.591, allocations: 8.297 MB / 0.7341 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.5922, allocations: 23.88 kB / 0.7341 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.5945, allocations: 0.7999 MB / 0.7349 GB, free: 8.027 MB / 0.5762 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.003013/0.5975, allocations: 1.407 MB / 0.7362 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008581/0.6061, allocations: 3.628 MB / 0.7398 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004626/0.6108, allocations: 4.188 MB / 0.7439 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.6132, allocations: 1.584 MB / 0.7454 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.6161, allocations: 1.679 MB / 0.747 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.6182, allocations: 1.468 MB / 0.7485 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.6189, allocations: 208 kB / 0.7487 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006687/0.6256, allocations: 3.2 MB / 0.7518 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.6272, allocations: 1.403 MB / 0.7532 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003031/0.6302, allocations: 1.657 MB / 0.7548 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.302/0.9322, allocations: 5.416 MB / 0.7601 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.9322, allocations: 1.031 kB / 0.7601 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9322, allocations: 1.094 kB / 0.7601 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.631e-05/0.9323, allocations: 0 / 0.7601 GB, free: 14.04 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.006604/0.939, allocations: 3.378 MB / 0.7634 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.939, allocations: 12.95 kB / 0.7634 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.9416, allocations: 0.5266 MB / 0.7639 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.945, allocations: 1.612 MB / 0.7655 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.9452, allocations: 146.8 kB / 0.7656 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/0.9456, allocations: 197.7 kB / 0.7658 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005713/0.9513, allocations: 2.687 MB / 0.7684 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.9514, allocations: 4.938 kB / 0.7684 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.9517, allocations: 98.2 kB / 0.7685 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-05/0.9518, allocations: 70.44 kB / 0.7686 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003871/0.9557, allocations: 2.15 MB / 0.7707 GB, free: 11.96 MB / 0.5919 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.01726/0.973, allocations: 11.4 MB / 0.7818 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.9749, allocations: 0.9944 MB / 0.7828 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.9761, allocations: 0.6968 MB / 0.7835 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007819/0.9769, allocations: 321 kB / 0.7838 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.308e-05/0.977, allocations: 66.42 kB / 0.7839 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 4.429e-06/0.977, allocations: 0 / 0.7839 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.01929/0.9963, allocations: 6.589 MB / 0.7903 GB, free: 4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002612/0.9966, allocations: 247 kB / 0.7905 GB, free: 19.72 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005186/1.002, allocations: 3.106 MB / 0.7936 GB, free: 19.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003823/1.002, allocations: 63.42 kB / 0.7936 GB, free: 19.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009389/1.003, allocations: 1.179 MB / 0.7948 GB, free: 19.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/1.003, allocations: 426.4 kB / 0.7952 GB, free: 18.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00057/1.004, allocations: 295.2 kB / 0.7955 GB, free: 18.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/1.004, allocations: 304.1 kB / 0.7958 GB, free: 18.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.005, allocations: 0.7413 MB / 0.7965 GB, free: 18.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.007, allocations: 1.055 MB / 0.7975 GB, free: 18.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/1.009, allocations: 1.744 MB / 0.7992 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.009, allocations: 6.062 kB / 0.7992 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004521/1.014, allocations: 2.58 MB / 0.8017 GB, free: 17.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.014, allocations: 13.59 kB / 0.8017 GB, free: 17.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.014, allocations: 7.469 kB / 0.8018 GB, free: 17.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007017/1.021, allocations: 1.489 MB / 0.8032 GB, free: 17.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.022, allocations: 241.5 kB / 0.8034 GB, free: 17.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/1.026, allocations: 2.672 MB / 0.806 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.028, allocations: 59.27 kB / 0.8061 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.028, allocations: 86.14 kB / 0.8062 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002069/1.03, allocations: 1.298 MB / 0.8075 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001072/1.031, allocations: 1.048 MB / 0.8085 GB, free: 16.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001921/1.033, allocations: 1.732 MB / 0.8102 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/1.033, allocations: 0 / 0.8102 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003687/1.037, allocations: 2.352 MB / 0.8125 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.037, allocations: 10.25 kB / 0.8125 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.037, allocations: 12 kB / 0.8125 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00317/1.04, allocations: 0.8541 MB / 0.8133 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.041, allocations: 305.3 kB / 0.8136 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/1.044, allocations: 3.836 MB / 0.8174 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.046, allocations: 61.42 kB / 0.8174 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/1.047, allocations: 89.09 kB / 0.8175 GB, free: 12.56 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (120): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0007895/1.047, allocations: 268.7 kB / 0.8178 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006673/1.048, allocations: 258.6 kB / 0.818 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/1.052, allocations: 2.182 MB / 0.8201 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.052, allocations: 13.27 kB / 0.8201 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.052, allocations: 0.9375 kB / 0.8202 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009497/1.053, allocations: 369.3 kB / 0.8205 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/1.053, allocations: 34.59 kB / 0.8205 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.055, allocations: 110.5 kB / 0.8206 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/1.055, allocations: 86.59 kB / 0.8207 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004928/1.06, allocations: 2.261 MB / 0.8229 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003522/1.064, allocations: 2.626 MB / 0.8255 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009286/1.065, allocations: 0.6869 MB / 0.8262 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002564/1.067, allocations: 2.179 MB / 0.8283 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Backend: time 5.11e-07/1.067, allocations: 0 / 0.8283 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.078, allocations: 4.268 MB / 0.8325 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01009/1.088, allocations: 6.413 MB / 0.8387 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.1067/1.194, allocations: 74.15 MB / 0.9111 GB, free: 12.04 MB / 0.6856 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetInertia.pipe 2>&1)