Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleEngine") translateModel(ThermofluidStream.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleEngine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008894/0.0008894, allocations: 177.7 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 225.7 MB / 241.9 MB, free: 208 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008039/0.000804, allocations: 95.16 kB / 293.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6584/0.6584, allocations: 91.65 MB / 435.8 MB, free: 23.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002896, allocations: 8 kB / 0.5038 GB, free: 8.305 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3215, allocations: 69.31 MB / 0.5714 GB, free: 45.59 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.4868/0.8084, allocations: 269.7 MB / 0.8349 GB, free: 40.05 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.05793/0.8664, allocations: 72.64 MB / 0.9058 GB, free: 13.3 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005595/0.8721, allocations: 49.62 kB / 0.9058 GB, free: 13.29 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.008389/0.8805, allocations: 2.856 MB / 0.9086 GB, free: 11.91 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.02513/0.9057, allocations: 6.169 MB / 0.9147 GB, free: 8.906 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0193/0.925, allocations: 5.448 MB / 0.92 GB, free: 5.816 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.008993/0.934, allocations: 7.382 MB / 0.9272 GB, free: 1.203 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.9366, allocations: 1.813 MB / 0.929 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01443/0.9511, allocations: 6.823 MB / 0.9356 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.9551, allocations: 2.208 MB / 0.9378 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0007719/0.9559, allocations: 148 kB / 0.9379 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02247/0.9784, allocations: 9.797 MB / 0.9475 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.9799, allocations: 0.6699 MB / 0.9481 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.9831, allocations: 2.048 MB / 0.9501 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02557/1.009, allocations: 11.55 MB / 0.9614 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.009, allocations: 0 / 0.9614 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/1.009, allocations: 4 kB / 0.9614 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001758/1.009, allocations: 0 / 0.9614 GB, free: 15.07 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1040 * Number of variables: 1040 Notification: Performance of Generate backend data structure: time 0.01321/1.022, allocations: 5.046 MB / 0.9664 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.022, allocations: 11.98 kB / 0.9664 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/1.027, allocations: 0.9246 MB / 0.9673 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/1.03, allocations: 1.822 MB / 0.969 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/1.031, allocations: 312.1 kB / 0.9693 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008335/1.032, allocations: 431.7 kB / 0.9698 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009934/1.042, allocations: 5.084 MB / 0.9747 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-05/1.042, allocations: 11.94 kB / 0.9747 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/1.042, allocations: 164 kB / 0.9749 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/1.042, allocations: 151.3 kB / 0.975 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009155/1.051, allocations: 4.412 MB / 0.9793 GB, free: 12.47 MB / 0.6355 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.02709/1.078, allocations: 27.47 MB / 1.006 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006779/1.085, allocations: 3.676 MB / 1.01 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/1.087, allocations: 1.455 MB / 1.011 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4929/1.58, allocations: 168.2 MB / 1.175 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/1.58, allocations: 60.42 kB / 1.175 GB, free: 154 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=255): time 4.669e-06/1.58, allocations: 4 kB / 1.175 GB, free: 154 MB / 0.6823 GB Notification: Performance of matching and sorting (n=267): time 0.02542/1.606, allocations: 12.16 MB / 1.187 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/1.606, allocations: 111.1 kB / 1.187 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.607, allocations: 1.202 MB / 1.189 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/1.607, allocations: 73.7 kB / 1.189 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005525/1.608, allocations: 1.428 MB / 1.19 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/1.608, allocations: 0.9166 MB / 1.191 GB, free: 138 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.609, allocations: 52 kB / 1.191 GB, free: 138 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/1.609, allocations: 407.3 kB / 1.191 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.61, allocations: 1.098 MB / 1.193 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/1.612, allocations: 1.562 MB / 1.194 GB, free: 134.8 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/1.616, allocations: 2.903 MB / 1.197 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.616, allocations: 4 kB / 1.197 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.006297/1.622, allocations: 3.786 MB / 1.201 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.623, allocations: 431.1 kB / 1.201 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.623, allocations: 12 kB / 1.201 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/1.625, allocations: 0.8684 MB / 1.202 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/1.627, allocations: 0.5266 MB / 1.202 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.639, allocations: 10.24 MB / 1.212 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/1.642, allocations: 375.3 kB / 1.213 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/1.642, allocations: 124 kB / 1.213 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/1.642, allocations: 7.906 kB / 1.213 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006189/1.648, allocations: 3.561 MB / 1.216 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/1.648, allocations: 16.19 kB / 1.216 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/1.651, allocations: 0.8714 MB / 1.217 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.653, allocations: 0.5149 MB / 1.218 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.664, allocations: 10.23 MB / 1.228 GB, free: 98.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/1.667, allocations: 367.2 kB / 1.228 GB, free: 98.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/1.667, allocations: 116 kB / 1.228 GB, free: 98.43 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 28 (boiler.state_out.phase,switch.tanValve1.outlet.state.phase,switch.tanValve.outlet.state.phase,switchConnector1.checkValve1.outlet.state.phase,switchConnector.checkValve1.outlet.state.phase,crankDrive.h_out,piston.medium_left.phase,piston.medium_right.phase,boiler.medium.phase,terminalSource.outlet.state.phase,switchConnector1.checkValve.outlet.state.phase,switchConnector.checkValve.outlet.state.phase,switchConnector1.junctionRFF2_1.junctionMN.fores[2].state_forwards.phase,switchConnector.junctionRFF2_1.junctionMN.fores[2].state_forwards.phase,PI1.I.local_reset,tanValve1.outlet.state.phase,tanValve.outlet.state.phase,flowResistance6.outlet.state.phase,flowResistance5.outlet.state.phase,flowResistance4.outlet.state.phase,flowResistance3.outlet.state.phase,junctionT2_1.junctionN.outlet.state.phase,conductionElement.outlet.state.phase,switchConnector1.junctionRFF2_1.junctionMN.fores[1].state_forwards.phase,switchConnector1.junctionRFF2_1.junctionMN.rears[1].state_rearwards.phase,switchConnector.junctionRFF2_1.junctionMN.fores[1].state_forwards.phase,switchConnector.junctionRFF2_1.junctionMN.rears[1].state_rearwards.phase,conductionElement.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (7,46,57.1%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001464/1.669, allocations: 0.8208 MB / 1.229 GB, free: 97.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/1.669, allocations: 209.5 kB / 1.229 GB, free: 97.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.68, allocations: 9.892 MB / 1.239 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-05/1.68, allocations: 115.8 kB / 1.239 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/1.68, allocations: 15.94 kB / 1.239 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/1.68, allocations: 15.94 kB / 1.239 GB, free: 87.29 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.01603/1.696, allocations: 15.16 MB / 1.254 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.696, allocations: 3.938 kB / 1.254 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.698, allocations: 427.4 kB / 1.254 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003682/1.701, allocations: 2.264 MB / 1.256 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/1.702, allocations: 87.94 kB / 1.256 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009767/1.711, allocations: 10.89 MB / 1.267 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.711, allocations: 3.984 kB / 1.267 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/1.724, allocations: 9.598 MB / 1.276 GB, free: 48.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.725, allocations: 0.7292 MB / 1.277 GB, free: 47.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/1.725, allocations: 60 kB / 1.277 GB, free: 47.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.727, allocations: 403.1 kB / 1.278 GB, free: 46.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004537/1.728, allocations: 226.2 kB / 1.278 GB, free: 46.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.728, allocations: 107.9 kB / 1.278 GB, free: 46.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008289/1.729, allocations: 0.754 MB / 1.279 GB, free: 45.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.729, allocations: 0 / 1.279 GB, free: 45.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006879/1.736, allocations: 2.799 MB / 1.281 GB, free: 43.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (steamSink.x,conductionElement.h,crankDrive.phi,crankDrive.omega,piston.M_left,piston.M_right,piston.medium_left.u,piston.medium_right.u,flowResistance3.m_flow,flowResistance4.m_flow,flowResistance5.m_flow,flowResistance6.m_flow,firstOrder.y,boiler.M,boiler.U_med,PI1.I.y,terminalSource.p) * Number of discrete variables: 58 ($cse6.phase,$cse6.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse47.phase,$cse47.region,$cse50.phase,$cse50.region,$cse53.phase,$cse53.region,$cse54.region3boundary,$cse55.region3boundary,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse62.region3boundary,$cse64.region3boundary,crankDrive.h_out,piston.medium_left.phase,piston.medium_right.phase,boiler.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (6,47,63.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005209/1.741, allocations: 2.072 MB / 1.283 GB, free: 41.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.751, allocations: 6.853 MB / 1.29 GB, free: 34.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.751, allocations: 0 / 1.29 GB, free: 34.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004247/1.756, allocations: 3.477 MB / 1.293 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/1.759, allocations: 0.8156 MB / 1.294 GB, free: 30.09 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10061:11-10061:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.772, allocations: 12.48 MB / 1.306 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/1.774, allocations: 2.604 MB / 1.309 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003309/1.777, allocations: 2.145 MB / 1.311 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/1.778, allocations: 207.4 kB / 1.311 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/1.778, allocations: 0 / 1.311 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of Templates: time 0.3438/2.122, allocations: 95.65 MB / 1.405 GB, free: 223.4 MB / 0.6823 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleEngine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleEngine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleEngine_ref.mat","../files/ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches