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.001007/0.001007, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007687/0.007687, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6915/0.6915, allocations: 91.33 MB / 382.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 12.77 kB / 462.7 MB, free: 23.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 69.22 MB / 0.5194 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5372/0.6772, allocations: 243.3 MB / 0.757 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4141/1.091, allocations: 55.93 MB / 0.8116 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006616/1.098, allocations: 103.8 kB / 0.8117 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01339/1.111, allocations: 2.864 MB / 0.8145 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.03669/1.148, allocations: 6.271 MB / 0.8207 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03179/1.18, allocations: 5.598 MB / 0.8261 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01997/1.2, allocations: 7.665 MB / 0.8336 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006405/1.206, allocations: 1.834 MB / 0.8354 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02311/1.23, allocations: 6.922 MB / 0.8422 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006238/1.236, allocations: 2.309 MB / 0.8444 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001446/1.237, allocations: 158.3 kB / 0.8446 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02679/1.264, allocations: 10.24 MB / 0.8546 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001801/1.266, allocations: 0.7025 MB / 0.8553 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006003/1.272, allocations: 2.165 MB / 0.8574 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.03104/1.303, allocations: 11.81 MB / 0.8689 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.303, allocations: 3.031 kB / 0.8689 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.256e-06/1.303, allocations: 0 / 0.8689 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003036/1.304, allocations: 0 / 0.8689 GB, free: 12.25 MB / 0.6231 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.01638/1.32, allocations: 5.319 MB / 0.8741 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.32, allocations: 10.09 kB / 0.8741 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005644/1.326, allocations: 0.9521 MB / 0.875 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/1.33, allocations: 2.188 MB / 0.8772 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/1.331, allocations: 316.6 kB / 0.8775 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/1.332, allocations: 432.6 kB / 0.8779 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.346, allocations: 5.117 MB / 0.8829 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/1.346, allocations: 8.594 kB / 0.8829 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007085/1.347, allocations: 162 kB / 0.8831 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/1.347, allocations: 150.8 kB / 0.8832 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/1.359, allocations: 4.436 MB / 0.8875 GB, free: 5.707 MB / 0.6231 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.03512/1.395, allocations: 27.6 MB / 0.9145 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/1.403, allocations: 3.689 MB / 0.9181 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/1.406, allocations: 1.463 MB / 0.9195 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8725/2.278, allocations: 200.7 MB / 1.116 GB, free: 212.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.861e-05/2.278, allocations: 66.56 kB / 1.116 GB, free: 212.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=255): time 6.492e-06/2.278, allocations: 0 / 1.116 GB, free: 212.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=267): time 0.03489/2.313, allocations: 12.27 MB / 1.128 GB, free: 210.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/2.313, allocations: 107.8 kB / 1.128 GB, free: 210.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/2.317, allocations: 1.562 MB / 1.129 GB, free: 210.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003941/2.317, allocations: 68.92 kB / 1.129 GB, free: 210.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/2.318, allocations: 1.576 MB / 1.131 GB, free: 209.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009675/2.319, allocations: 0.9104 MB / 1.132 GB, free: 208.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007054/2.32, allocations: 256.3 kB / 1.132 GB, free: 208.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/2.32, allocations: 302.4 kB / 1.132 GB, free: 208.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002691/2.323, allocations: 1.108 MB / 1.133 GB, free: 208.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/2.325, allocations: 1.569 MB / 1.135 GB, free: 208 MB / 0.8262 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.005763/2.331, allocations: 2.926 MB / 1.138 GB, free: 207.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-05/2.331, allocations: 7.469 kB / 1.138 GB, free: 207.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.00949/2.341, allocations: 3.831 MB / 1.141 GB, free: 207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002107/2.341, allocations: 436.9 kB / 1.142 GB, free: 206.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/2.341, allocations: 13.44 kB / 1.142 GB, free: 206.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/2.344, allocations: 0.8624 MB / 1.143 GB, free: 206.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/2.346, allocations: 0.5309 MB / 1.143 GB, free: 206.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/2.361, allocations: 10.27 MB / 1.153 GB, free: 201.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/2.364, allocations: 371.4 kB / 1.154 GB, free: 201.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/2.365, allocations: 118 kB / 1.154 GB, free: 201.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/2.365, allocations: 8.156 kB / 1.154 GB, free: 201.3 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007972/2.373, allocations: 3.576 MB / 1.157 GB, free: 201.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/2.373, allocations: 17.62 kB / 1.157 GB, free: 201.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/2.376, allocations: 0.8666 MB / 1.158 GB, free: 201.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/2.378, allocations: 0.5227 MB / 1.159 GB, free: 201.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/2.392, allocations: 10.26 MB / 1.169 GB, free: 196 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/2.395, allocations: 375.3 kB / 1.169 GB, free: 195.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004423/2.395, allocations: 116.1 kB / 1.169 GB, free: 195.9 MB / 0.8262 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,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.002576/2.398, allocations: 0.8375 MB / 1.17 GB, free: 195.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008273/2.399, allocations: 236.4 kB / 1.17 GB, free: 195.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/2.413, allocations: 9.952 MB / 1.18 GB, free: 190.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.483e-05/2.413, allocations: 124.4 kB / 1.18 GB, free: 190.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.101e-05/2.413, allocations: 16 kB / 1.18 GB, free: 190.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.223e-05/2.413, allocations: 19.88 kB / 1.18 GB, free: 190.1 MB / 0.8262 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.02106/2.434, allocations: 15.33 MB / 1.195 GB, free: 180.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/2.434, allocations: 4 kB / 1.195 GB, free: 180.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/2.436, allocations: 432.5 kB / 1.195 GB, free: 180.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004216/2.441, allocations: 2.272 MB / 1.198 GB, free: 178.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004743/2.441, allocations: 92.88 kB / 1.198 GB, free: 178 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/2.452, allocations: 10.9 MB / 1.208 GB, free: 167.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.452, allocations: 3.938 kB / 1.208 GB, free: 167.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/2.467, allocations: 9.682 MB / 1.218 GB, free: 158 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/2.469, allocations: 0.7568 MB / 1.219 GB, free: 157.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008109/2.47, allocations: 60 kB / 1.219 GB, free: 157.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003109/2.473, allocations: 403.1 kB / 1.219 GB, free: 156.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/2.474, allocations: 232.8 kB / 1.219 GB, free: 156.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/2.474, allocations: 99.94 kB / 1.219 GB, free: 156.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002234/2.476, allocations: 0.9994 MB / 1.22 GB, free: 155.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 7.21e-07/2.476, allocations: 0 / 1.22 GB, free: 155.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01684/2.493, allocations: 2.843 MB / 1.223 GB, free: 152.7 MB / 0.8262 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.01051/2.504, allocations: 2.109 MB / 1.225 GB, free: 151 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01914/2.523, allocations: 6.857 MB / 1.232 GB, free: 144.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/2.523, allocations: 0 / 1.232 GB, free: 144.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008453/2.531, allocations: 3.499 MB / 1.235 GB, free: 140.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009501/2.541, allocations: 0.8725 MB / 1.236 GB, free: 139.8 MB / 0.8262 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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.02994/2.571, allocations: 12.89 MB / 1.249 GB, free: 127 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004376/2.575, allocations: 2.668 MB / 1.251 GB, free: 124.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.007284/2.583, allocations: 2.182 MB / 1.253 GB, free: 122.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/2.584, allocations: 228.3 kB / 1.254 GB, free: 122 MB / 0.8262 GB Notification: Performance of SimCode: time 1.463e-06/2.584, allocations: 0 / 1.254 GB, free: 122 MB / 0.8262 GB Notification: Performance of Templates: time 0.1478/2.732, allocations: 98.58 MB / 1.35 GB, free: 24.31 MB / 0.8262 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