Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008565/0.0008565, allocations: 170.9 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205 MB / 221.9 MB, free: 9.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007021/0.0007022, allocations: 81.25 kB / 269.9 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6509/0.6509, allocations: 90.5 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.000284, allocations: 8 kB / 484.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2408, allocations: 65.81 MB / 0.5378 GB, free: 34.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1239/0.3648, allocations: 145.7 MB / 0.68 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2324/0.5972, allocations: 11.89 MB / 0.6916 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/0.5977, allocations: 14.45 kB / 0.6917 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.5984, allocations: 251.4 kB / 0.6919 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.5996, allocations: 0.4992 MB / 0.6924 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.6013, allocations: 0.629 MB / 0.693 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.6024, allocations: 1.105 MB / 0.6941 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.6027, allocations: 148.8 kB / 0.6942 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.6031, allocations: 312.1 kB / 0.6945 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.6037, allocations: 445.2 kB / 0.6949 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.6038, allocations: 28.47 kB / 0.695 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.6058, allocations: 1.055 MB / 0.696 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.6059, allocations: 117.6 kB / 0.6961 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.6062, allocations: 278.2 kB / 0.6964 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.6074, allocations: 1.016 MB / 0.6974 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6074, allocations: 0 / 0.6974 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6074, allocations: 0 / 0.6974 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.6075, allocations: 4 kB / 0.6974 GB, free: 1.219 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001595/0.6091, allocations: 0.9053 MB / 0.6983 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6091, allocations: 10.36 kB / 0.6983 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.6092, allocations: 59.84 kB / 0.6983 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.6097, allocations: 399.7 kB / 0.6987 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/0.6097, allocations: 90.02 kB / 0.6988 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.6098, allocations: 46.66 kB / 0.6988 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.611, allocations: 0.6627 MB / 0.6995 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.611, allocations: 1.188 kB / 0.6995 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.6111, allocations: 22.88 kB / 0.6995 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.6111, allocations: 21.7 kB / 0.6995 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.6124, allocations: 0.6817 MB / 0.7002 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.6158, allocations: 2.743 MB / 0.7029 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.617, allocations: 0.7281 MB / 0.7036 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.6176, allocations: 404.9 kB / 0.704 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.6196, allocations: 2.626 MB / 0.7065 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.6196, allocations: 45.09 kB / 0.7066 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=64): time 3.046e-06/0.6197, allocations: 0 / 0.7066 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66): time 0.003715/0.6234, allocations: 2.336 MB / 0.7089 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.6234, allocations: 60.59 kB / 0.7089 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.6237, allocations: 313.4 kB / 0.7092 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.6237, allocations: 49.75 kB / 0.7093 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.6238, allocations: 222.9 kB / 0.7095 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.6239, allocations: 220.5 kB / 0.7097 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.624, allocations: 10.28 kB / 0.7097 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.6241, allocations: 357.2 kB / 0.71 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.6245, allocations: 293.8 kB / 0.7103 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.6251, allocations: 365.1 kB / 0.7107 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6261, allocations: 0.6807 MB / 0.7113 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6262, allocations: 0.875 kB / 0.7113 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001517/0.6277, allocations: 0.8994 MB / 0.7122 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6277, allocations: 5.094 kB / 0.7122 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.6277, allocations: 7.594 kB / 0.7122 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.6281, allocations: 125.7 kB / 0.7123 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.6286, allocations: 115 kB / 0.7125 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.6307, allocations: 2.246 MB / 0.7146 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.631, allocations: 39.72 kB / 0.7147 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.6311, allocations: 24.94 kB / 0.7147 GB, free: 8.945 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.6313, allocations: 180.7 kB / 0.7149 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.6314, allocations: 49.81 kB / 0.7149 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.6332, allocations: 1.063 MB / 0.716 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6332, allocations: 3.234 kB / 0.716 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.6332, allocations: 7.594 kB / 0.716 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.6333, allocations: 118.7 kB / 0.7161 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.6334, allocations: 18.59 kB / 0.7161 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.6337, allocations: 31.94 kB / 0.7161 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.6338, allocations: 62.97 kB / 0.7162 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001855/0.6357, allocations: 1.049 MB / 0.7172 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001793/0.6375, allocations: 1.442 MB / 0.7186 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004872/0.638, allocations: 384.5 kB / 0.719 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001688/0.6381, allocations: 218.3 kB / 0.7192 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of Backend: time 3.21e-07/0.6381, allocations: 2.906 kB / 0.7192 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.64, allocations: 1.109 MB / 0.7203 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of SimCode: time 0.001912/0.642, allocations: 1.97 MB / 0.7222 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of Templates: time 0.01775/0.6597, allocations: 13.65 MB / 0.7355 GB, free: 2.188 MB / 0.5105 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1)