Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.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.TestTurboJetConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108.8 kB / 17.75 MB, free: 5.199 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.001212/0.001212, allocations: 183.1 kB / 18.68 MB, free: 4.277 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.392/1.392, allocations: 205.1 MB / 224.6 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.2933/0.2933, allocations: 48.84 MB / 320.8 MB, free: 11.01 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.001597/0.001597, allocations: 67.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1176, allocations: 59.15 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed): time 0.516/0.6336, allocations: 223.8 MB / 0.7169 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.6462, allocations: 8.011 MB / 0.7248 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.6477, allocations: 19.94 kB / 0.7248 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.6501, allocations: 0.7299 MB / 0.7255 GB, free: 1.488 MB / 0.5606 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.003679/0.6538, allocations: 1.345 MB / 0.7268 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009569/0.6634, allocations: 3.52 MB / 0.7303 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005682/0.6691, allocations: 3.838 MB / 0.734 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.6719, allocations: 1.443 MB / 0.7354 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.6751, allocations: 1.558 MB / 0.7369 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.6783, allocations: 1.371 MB / 0.7383 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.6793, allocations: 195.9 kB / 0.7385 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007431/0.6868, allocations: 3.072 MB / 0.7415 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001882/0.6887, allocations: 1.372 MB / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.6922, allocations: 1.579 MB / 0.7443 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.7023, allocations: 5.226 MB / 0.7494 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7023, allocations: 4 kB / 0.7494 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7023, allocations: 0 / 0.7494 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001592/0.7025, allocations: 0 / 0.7494 GB, free: 8.902 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.009159/0.7117, allocations: 3.446 MB / 0.7528 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7117, allocations: 11.89 kB / 0.7528 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.7145, allocations: 0.5259 MB / 0.7533 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.7181, allocations: 1.693 MB / 0.755 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.7183, allocations: 135.5 kB / 0.7551 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004453/0.7187, allocations: 176 kB / 0.7553 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004994/0.7237, allocations: 2.453 MB / 0.7577 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.7238, allocations: 3.953 kB / 0.7577 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.7241, allocations: 84 kB / 0.7578 GB, free: 196 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/0.7242, allocations: 71.52 kB / 0.7578 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2631/0.9873, allocations: 1.952 MB / 0.7597 GB, free: 217.5 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.01685/1.004, allocations: 10.44 MB / 0.7699 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.006, allocations: 0.8657 MB / 0.7708 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/1.007, allocations: 0.6031 MB / 0.7714 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/1.008, allocations: 318.5 kB / 0.7717 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.008, allocations: 61.59 kB / 0.7717 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=94): time 5.07e-06/1.008, allocations: 2.203 kB / 0.7717 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=105): time 0.01612/1.024, allocations: 5.608 MB / 0.7772 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/1.024, allocations: 167.6 kB / 0.7774 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00727/1.031, allocations: 3.416 MB / 0.7807 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002751/1.032, allocations: 54.05 kB / 0.7808 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.033, allocations: 1.237 MB / 0.782 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/1.033, allocations: 398 kB / 0.7823 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000533/1.033, allocations: 264.5 kB / 0.7826 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.034, allocations: 355.8 kB / 0.7829 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.035, allocations: 0.7261 MB / 0.7836 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/1.036, allocations: 0.9743 MB / 0.7846 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/1.039, allocations: 1.596 MB / 0.7862 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/1.039, allocations: 2.438 kB / 0.7862 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004938/1.044, allocations: 2.456 MB / 0.7886 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.044, allocations: 6.938 kB / 0.7886 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/1.044, allocations: 8.844 kB / 0.7886 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005862/1.049, allocations: 1.35 MB / 0.7899 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/1.05, allocations: 210 kB / 0.7901 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/1.054, allocations: 2.619 MB / 0.7926 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.056, allocations: 54.33 kB / 0.7927 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/1.056, allocations: 78.47 kB / 0.7928 GB, free: 200.1 MB / 0.5919 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002478/1.058, allocations: 1.321 MB / 0.7941 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/1.059, allocations: 0.9679 MB / 0.795 GB, free: 198.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002119/1.062, allocations: 1.582 MB / 0.7966 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.552e-05/1.062, allocations: 4.641 kB / 0.7966 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003975/1.066, allocations: 2.324 MB / 0.7988 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.066, allocations: 11.88 kB / 0.7988 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.066, allocations: 7.938 kB / 0.7988 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/1.069, allocations: 0.9077 MB / 0.7997 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.07, allocations: 252 kB / 0.8 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/1.072, allocations: 3.372 MB / 0.8033 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/1.074, allocations: 58.62 kB / 0.8033 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/1.074, allocations: 74.55 kB / 0.8034 GB, free: 193.1 MB / 0.5919 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (111): * Single equations (assignments): 109 * 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 {(14,44)} Notification: Performance of prepare postOptimizeDAE: time 0.000555/1.074, allocations: 270 kB / 0.8037 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006526/1.075, allocations: 278.1 kB / 0.8039 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/1.078, allocations: 1.963 MB / 0.8058 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.078, allocations: 7.969 kB / 0.8058 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.078, allocations: 3.938 kB / 0.8058 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/1.079, allocations: 401.6 kB / 0.8062 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/1.08, allocations: 28 kB / 0.8063 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.081, allocations: 100.7 kB / 0.8064 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.082, allocations: 72.89 kB / 0.8064 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004151/1.086, allocations: 1.926 MB / 0.8083 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003137/1.089, allocations: 2.328 MB / 0.8106 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008048/1.09, allocations: 0.6134 MB / 0.8112 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003333/1.093, allocations: 2.408 MB / 0.8135 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of Backend: time 7.92e-07/1.093, allocations: 0 / 0.8135 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.104, allocations: 3.986 MB / 0.8174 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01034/1.115, allocations: 6.404 MB / 0.8237 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.09558/1.21, allocations: 70.33 MB / 0.8924 GB, free: 102.8 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe 2>&1)