Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007739/0.007739, allocations: 102 kB / 15.73 MB, free: 6.039 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.001254/0.001254, allocations: 194.2 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8525/0.8525, allocations: 91.19 MB / 381.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 83.81 kB / 0.5168 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5351, allocations: 67.68 MB / 0.5829 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.7192/1.254, allocations: 245.1 MB / 0.8223 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0669/1.321, allocations: 55.18 MB / 0.8762 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006716/1.328, allocations: 79.56 kB / 0.8762 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01067/1.339, allocations: 3.138 MB / 0.8793 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0274/1.366, allocations: 7.295 MB / 0.8864 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.02282/1.389, allocations: 6.474 MB / 0.8928 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01199/1.401, allocations: 6.643 MB / 0.8992 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005429/1.407, allocations: 2.028 MB / 0.9012 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.019/1.426, allocations: 7.592 MB / 0.9086 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/1.432, allocations: 2.81 MB / 0.9114 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002733/1.435, allocations: 0.5391 MB / 0.9119 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03348/1.468, allocations: 10.69 MB / 0.9223 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002844/1.471, allocations: 1.149 MB / 0.9235 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.007937/1.479, allocations: 2.641 MB / 0.926 GB, free: 8.879 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0358/1.515, allocations: 12.48 MB / 0.9382 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.515, allocations: 0 / 0.9382 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.506e-06/1.515, allocations: 0 / 0.9382 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.00027/1.515, allocations: 3.938 kB / 0.9382 GB, free: 12.36 MB / 0.6856 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.01997/1.535, allocations: 6.2 MB / 0.9443 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.535, allocations: 8.031 kB / 0.9443 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/1.541, allocations: 0.9432 MB / 0.9452 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/1.547, allocations: 2.279 MB / 0.9474 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/1.548, allocations: 312.1 kB / 0.9477 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/1.549, allocations: 431.8 kB / 0.9482 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/1.564, allocations: 5.092 MB / 0.9531 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001479/1.565, allocations: 4 kB / 0.9531 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009227/1.566, allocations: 175.9 kB / 0.9533 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/1.566, allocations: 147.4 kB / 0.9534 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/1.577, allocations: 4.393 MB / 0.9577 GB, free: 8.102 MB / 0.7012 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.0345/1.612, allocations: 27.54 MB / 0.9846 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007566/1.619, allocations: 3.647 MB / 0.9882 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/1.622, allocations: 1.456 MB / 0.9896 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7285/2.351, allocations: 199.6 MB / 1.185 GB, free: 153.4 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.093e-05/2.351, allocations: 64.58 kB / 1.185 GB, free: 153.3 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=255): time 8.255e-06/2.351, allocations: 0 / 1.185 GB, free: 153.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=267): time 0.03157/2.382, allocations: 12.04 MB / 1.196 GB, free: 141.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/2.382, allocations: 103.2 kB / 1.196 GB, free: 141.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/2.385, allocations: 1.555 MB / 1.198 GB, free: 139.6 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/2.385, allocations: 77.7 kB / 1.198 GB, free: 139.5 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007871/2.386, allocations: 1.574 MB / 1.2 GB, free: 137.9 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007056/2.387, allocations: 0.9009 MB / 1.2 GB, free: 137 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008997/2.387, allocations: 0.513 MB / 1.201 GB, free: 136.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/2.388, allocations: 301.1 kB / 1.201 GB, free: 136.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/2.389, allocations: 1.102 MB / 1.202 GB, free: 135.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/2.392, allocations: 1.558 MB / 1.204 GB, free: 133.4 MB / 0.7637 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.004469/2.396, allocations: 2.892 MB / 1.207 GB, free: 130.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/2.396, allocations: 4 kB / 1.207 GB, free: 130.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.00878/2.405, allocations: 3.788 MB / 1.21 GB, free: 126.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/2.405, allocations: 12 kB / 1.21 GB, free: 126.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/2.405, allocations: 12 kB / 1.21 GB, free: 126.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/2.409, allocations: 0.8488 MB / 1.211 GB, free: 125.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/2.411, allocations: 0.5226 MB / 1.212 GB, free: 125 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/2.426, allocations: 10.75 MB / 1.222 GB, free: 113.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/2.429, allocations: 109.4 kB / 1.222 GB, free: 113.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006265/2.43, allocations: 127.8 kB / 1.222 GB, free: 113.6 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003977/2.434, allocations: 1.684 MB / 1.224 GB, free: 111.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00239/2.436, allocations: 1.543 MB / 1.226 GB, free: 110.2 MB / 0.7637 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_lambda0): time 0.004605/2.441, allocations: 2.87 MB / 1.228 GB, free: 107.1 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.267e-05/2.441, allocations: 4 kB / 1.228 GB, free: 107.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=335) (initialization_lambda0): time 0.007687/2.448, allocations: 3.769 MB / 1.232 GB, free: 103.3 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/2.448, allocations: 12 kB / 1.232 GB, free: 103.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/2.448, allocations: 8.844 kB / 1.232 GB, free: 103.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/2.451, allocations: 0.8522 MB / 1.233 GB, free: 102.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/2.453, allocations: 0.5274 MB / 1.233 GB, free: 101.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/2.467, allocations: 10.75 MB / 1.244 GB, free: 90.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/2.469, allocations: 99.94 kB / 1.244 GB, free: 90.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004918/2.47, allocations: 120 kB / 1.244 GB, free: 90.42 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: 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,boiler.medium.phase,piston.medium_right.phase,piston.medium_left.phase,crankDrive.h_out,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 (276): * Single equations (assignments): 271 * 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%), (6,47,63.9%), (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.0009132/2.471, allocations: 357.5 kB / 1.245 GB, free: 90.07 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008506/2.471, allocations: 245.1 kB / 1.245 GB, free: 89.82 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/2.484, allocations: 9.842 MB / 1.254 GB, free: 79.91 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.799e-05/2.485, allocations: 119.8 kB / 1.255 GB, free: 79.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.171e-05/2.485, allocations: 8 kB / 1.255 GB, free: 79.79 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-05/2.485, allocations: 19.88 kB / 1.255 GB, free: 79.77 MB / 0.7637 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.02047/2.505, allocations: 15.21 MB / 1.269 GB, free: 64.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/2.505, allocations: 9.969 kB / 1.269 GB, free: 64.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/2.507, allocations: 423.4 kB / 1.27 GB, free: 64 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003767/2.511, allocations: 1.851 MB / 1.272 GB, free: 62.12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004046/2.511, allocations: 95.94 kB / 1.272 GB, free: 62.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.523, allocations: 11.46 MB / 1.283 GB, free: 50.08 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/2.523, allocations: 3.984 kB / 1.283 GB, free: 50.08 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/2.537, allocations: 9.587 MB / 1.292 GB, free: 40.39 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/2.539, allocations: 0.7645 MB / 1.293 GB, free: 39.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006913/2.54, allocations: 60 kB / 1.293 GB, free: 39.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/2.542, allocations: 115.9 kB / 1.293 GB, free: 39.43 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/2.542, allocations: 230.2 kB / 1.293 GB, free: 39.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002702/2.543, allocations: 99.94 kB / 1.293 GB, free: 39.1 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001459/2.544, allocations: 0.9916 MB / 1.294 GB, free: 38.09 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/2.544, allocations: 3.938 kB / 1.294 GB, free: 38.08 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.009368/2.553, allocations: 2.833 MB / 1.297 GB, free: 35.36 MB / 0.7637 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.007879/2.561, allocations: 2.006 MB / 1.299 GB, free: 33.67 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01396/2.575, allocations: 6.826 MB / 1.306 GB, free: 26.74 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/2.575, allocations: 0 / 1.306 GB, free: 26.74 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005181/2.581, allocations: 3.468 MB / 1.309 GB, free: 23.23 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005608/2.586, allocations: 0.948 MB / 1.31 GB, free: 22.32 MB / 0.7637 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10371:11-10371: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.01716/2.603, allocations: 10.04 MB / 1.32 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/2.606, allocations: 2.664 MB / 1.323 GB, free: 9.555 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004391/2.611, allocations: 2.185 MB / 1.325 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/2.612, allocations: 227.4 kB / 1.325 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of SimCode: time 6.92e-07/2.612, allocations: 0 / 1.325 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of Templates: time 0.5387/3.151, allocations: 104.3 MB / 1.427 GB, free: 233.1 MB / 0.7637 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches