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 dev (/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.001321/0.00132, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001678/0.001678, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.793/0.793, allocations: 89.6 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 16.38 kB / 459.9 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 68.83 MB / 0.5163 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5776/0.7237, allocations: 204.2 MB / 0.7157 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.06412/0.7879, allocations: 45.97 MB / 0.7606 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006645/0.7946, allocations: 47.88 kB / 0.7607 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.8061, allocations: 2.82 MB / 0.7634 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02845/0.8346, allocations: 6.342 MB / 0.7696 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02062/0.8553, allocations: 5.089 MB / 0.7746 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.8661, allocations: 4.274 MB / 0.7788 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005011/0.8712, allocations: 1.659 MB / 0.7804 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02126/0.8925, allocations: 10.19 MB / 0.7903 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005687/0.8982, allocations: 1.903 MB / 0.7922 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002221/0.9005, allocations: 156 kB / 0.7923 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03522/0.9358, allocations: 10.43 MB / 0.8025 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.9381, allocations: 0.6457 MB / 0.8031 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003436/0.9415, allocations: 0.8902 MB / 0.804 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.558/1.5, allocations: 8.488 MB / 0.8123 GB, free: 36.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.5, allocations: 0.5 kB / 0.8123 GB, free: 36.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/1.5, allocations: 4.375 kB / 0.8123 GB, free: 36.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000326/1.5, allocations: 1.719 kB / 0.8123 GB, free: 36.57 MB / 0.6075 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.02375/1.524, allocations: 5.178 MB / 0.8174 GB, free: 34.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.524, allocations: 12.08 kB / 0.8174 GB, free: 34.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007977/1.532, allocations: 0.9312 MB / 0.8183 GB, free: 34.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008308/1.54, allocations: 1.833 MB / 0.8201 GB, free: 33.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007056/1.541, allocations: 311.7 kB / 0.8204 GB, free: 33.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003202/1.544, allocations: 436.8 kB / 0.8208 GB, free: 33.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/1.567, allocations: 5.045 MB / 0.8257 GB, free: 33.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/1.567, allocations: 8.125 kB / 0.8257 GB, free: 33.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006587/1.568, allocations: 168.2 kB / 0.8259 GB, free: 33.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/1.568, allocations: 147.9 kB / 0.826 GB, free: 33.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/1.583, allocations: 4.414 MB / 0.8303 GB, free: 33.32 MB / 0.6075 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.04661/1.629, allocations: 27.58 MB / 0.8573 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009109/1.639, allocations: 3.67 MB / 0.8609 GB, free: 30.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3328/1.971, allocations: 168.2 MB / 1.025 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/1.972, allocations: 64.89 kB / 1.025 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=255): time 4.769e-06/1.972, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of matching and sorting (n=267): time 0.03872/2.01, allocations: 12.43 MB / 1.037 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/2.01, allocations: 103.2 kB / 1.037 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/2.013, allocations: 1.338 MB / 1.039 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004294/2.013, allocations: 74.33 kB / 1.039 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/2.014, allocations: 1.465 MB / 1.04 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/2.015, allocations: 0.9124 MB / 1.041 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/2.016, allocations: 55.56 kB / 1.041 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002136/2.016, allocations: 404 kB / 1.042 GB, free: 328 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/2.018, allocations: 1.093 MB / 1.043 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/2.021, allocations: 1.549 MB / 1.044 GB, free: 14.42 MB / 0.7794 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 = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/2.023, allocations: 1.364 MB / 1.045 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/2.023, allocations: 4 kB / 1.045 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.008629/2.032, allocations: 3.779 MB / 1.049 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.00241/2.034, allocations: 4.56 MB / 1.054 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.524e-05/2.034, allocations: 12 kB / 1.054 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/2.038, allocations: 0.8649 MB / 1.054 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/2.041, allocations: 0.527 MB / 1.055 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/2.06, allocations: 10.34 MB / 1.065 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/2.065, allocations: 369.1 kB / 1.065 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009567/2.066, allocations: 125.9 kB / 1.066 GB, free: 12.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/2.066, allocations: 8 kB / 1.066 GB, free: 12.1 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0107/2.077, allocations: 3.548 MB / 1.069 GB, free: 9.836 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.266e-05/2.077, allocations: 15.95 kB / 1.069 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/2.08, allocations: 0.8567 MB / 1.07 GB, free: 9.113 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/2.083, allocations: 0.5252 MB / 1.07 GB, free: 8.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/2.103, allocations: 10.34 MB / 1.081 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4557/2.558, allocations: 358.7 kB / 1.081 GB, free: 398.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/2.56, allocations: 120 kB / 1.081 GB, free: 398.8 MB / 0.795 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 = 0.0. 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(6,58.3%) 47,(1,100.0%) 4} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.004283/2.564, allocations: 0.8129 MB / 1.082 GB, free: 398.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.565, allocations: 218.3 kB / 1.082 GB, free: 398.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0272/2.592, allocations: 9.905 MB / 1.092 GB, free: 396.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003521/2.593, allocations: 118.3 kB / 1.092 GB, free: 396.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000138/2.593, allocations: 8.469 kB / 1.092 GB, free: 396.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002394/2.593, allocations: 16.89 kB / 1.092 GB, free: 396.8 MB / 0.795 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.04342/2.636, allocations: 15.18 MB / 1.107 GB, free: 389.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.626e-05/2.637, allocations: 0 / 1.107 GB, free: 389.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00275/2.639, allocations: 428.2 kB / 1.107 GB, free: 389.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005344/2.645, allocations: 2.227 MB / 1.109 GB, free: 389.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000915/2.646, allocations: 90.02 kB / 1.109 GB, free: 389.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/2.66, allocations: 10.98 MB / 1.12 GB, free: 381.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.66, allocations: 0 / 1.12 GB, free: 381.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/2.681, allocations: 9.56 MB / 1.129 GB, free: 377.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00344/2.684, allocations: 0.7422 MB / 1.13 GB, free: 376.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/2.686, allocations: 58.91 kB / 1.13 GB, free: 376.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004914/2.691, allocations: 403.2 kB / 1.131 GB, free: 376.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/2.692, allocations: 226.5 kB / 1.131 GB, free: 376.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008804/2.693, allocations: 108.7 kB / 1.131 GB, free: 376.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002384/2.696, allocations: 0.8508 MB / 1.132 GB, free: 376.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 9.81e-07/2.696, allocations: 0 / 1.132 GB, free: 376.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01723/2.713, allocations: 2.816 MB / 1.134 GB, free: 375.6 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 1,(6,58.3%) 47} * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01161/2.725, allocations: 2.082 MB / 1.136 GB, free: 374.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0203/2.745, allocations: 6.822 MB / 1.143 GB, free: 367.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-05/2.745, allocations: 4.719 kB / 1.143 GB, free: 367.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00954/2.755, allocations: 3.466 MB / 1.146 GB, free: 364.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006828/2.761, allocations: 0.8181 MB / 1.147 GB, free: 364.1 MB / 0.795 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218: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.02452/2.786, allocations: 12.22 MB / 1.159 GB, free: 352.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004921/2.791, allocations: 2.711 MB / 1.162 GB, free: 349.6 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005688/2.797, allocations: 2.155 MB / 1.164 GB, free: 347.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/2.798, allocations: 219.3 kB / 1.164 GB, free: 347.3 MB / 0.795 GB Notification: Performance of SimCode: time 1.282e-06/2.798, allocations: 0 / 1.164 GB, free: 347.3 MB / 0.795 GB Notification: Performance of Templates: time 0.1508/2.949, allocations: 96.05 MB / 1.258 GB, free: 251.8 MB / 0.795 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