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.0009561/0.0009563, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009982/0.0009984, allocations: 172.7 kB / 15.95 MB, free: 208 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.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7165/0.7165, allocations: 89.64 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004135, allocations: 11.34 kB / 460 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1861, allocations: 68.83 MB / 0.5164 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.6536/0.8398, allocations: 228.2 MB / 0.7393 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.06782/0.9077, allocations: 51.39 MB / 0.7895 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006876/0.9146, allocations: 47.88 kB / 0.7895 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.9254, allocations: 2.673 MB / 0.7921 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02497/0.9504, allocations: 6.144 MB / 0.7981 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.019/0.9694, allocations: 4.962 MB / 0.803 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.5336/1.503, allocations: 6.749 MB / 0.8096 GB, free: 22.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004789/1.508, allocations: 1.651 MB / 0.8112 GB, free: 22.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02296/1.531, allocations: 10.39 MB / 0.8213 GB, free: 22.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00682/1.538, allocations: 2.18 MB / 0.8235 GB, free: 22.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001798/1.54, allocations: 151.7 kB / 0.8236 GB, free: 22.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02799/1.568, allocations: 9.548 MB / 0.8329 GB, free: 22.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002437/1.57, allocations: 0.6613 MB / 0.8336 GB, free: 22.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003088/1.573, allocations: 0.8857 MB / 0.8344 GB, free: 22.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01975/1.593, allocations: 8.611 MB / 0.8429 GB, free: 21.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.593, allocations: 2.312 kB / 0.8429 GB, free: 21.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/1.593, allocations: 0 / 0.8429 GB, free: 21.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000267/1.593, allocations: 0 / 0.8429 GB, free: 21.94 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.02265/1.616, allocations: 5.189 MB / 0.8479 GB, free: 35.85 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/1.616, allocations: 9.688 kB / 0.8479 GB, free: 35.85 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/1.627, allocations: 0.934 MB / 0.8488 GB, free: 35.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008262/1.635, allocations: 1.826 MB / 0.8506 GB, free: 35.17 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005477/1.636, allocations: 314.9 kB / 0.8509 GB, free: 35.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/1.638, allocations: 434.1 kB / 0.8513 GB, free: 35.15 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/1.66, allocations: 5.085 MB / 0.8563 GB, free: 34.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/1.66, allocations: 8.625 kB / 0.8563 GB, free: 34.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005118/1.661, allocations: 168.4 kB / 0.8565 GB, free: 34.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/1.661, allocations: 142.5 kB / 0.8566 GB, free: 34.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/1.674, allocations: 4.411 MB / 0.8609 GB, free: 34.62 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.04736/1.721, allocations: 27.53 MB / 0.8878 GB, free: 16.53 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008637/1.73, allocations: 3.676 MB / 0.8914 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/1.733, allocations: 1.456 MB / 0.8928 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8314/2.564, allocations: 200.7 MB / 1.089 GB, free: 407.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/2.565, allocations: 70.25 kB / 1.089 GB, free: 407.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=255): time 6.703e-06/2.565, allocations: 0 / 1.089 GB, free: 407.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=267): time 0.04062/2.605, allocations: 12.19 MB / 1.101 GB, free: 404 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/2.605, allocations: 105.5 kB / 1.101 GB, free: 403.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/2.608, allocations: 1.333 MB / 1.102 GB, free: 403.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005848/2.609, allocations: 76.17 kB / 1.102 GB, free: 403.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/2.61, allocations: 1.477 MB / 1.104 GB, free: 402.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/2.611, allocations: 0.9035 MB / 1.105 GB, free: 401.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/2.611, allocations: 54.34 kB / 1.105 GB, free: 401.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001806/2.611, allocations: 402.3 kB / 1.105 GB, free: 401.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/2.614, allocations: 1.1 MB / 1.106 GB, free: 400.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/2.617, allocations: 1.559 MB / 1.108 GB, free: 399.7 MB / 0.8106 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.002723/2.619, allocations: 1.375 MB / 1.109 GB, free: 399 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/2.619, allocations: 4.781 kB / 1.109 GB, free: 399 MB / 0.8106 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.008914/2.628, allocations: 3.791 MB / 1.113 GB, free: 397.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004091/2.629, allocations: 440.5 kB / 1.113 GB, free: 396.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/2.629, allocations: 10.97 kB / 1.113 GB, free: 396.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/2.632, allocations: 0.8837 MB / 1.114 GB, free: 396.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/2.635, allocations: 0.5247 MB / 1.115 GB, free: 396.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/2.651, allocations: 10.23 MB / 1.124 GB, free: 389.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/2.656, allocations: 372.8 kB / 1.125 GB, free: 389.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/2.657, allocations: 125.8 kB / 1.125 GB, free: 389.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/2.657, allocations: 7.281 kB / 1.125 GB, free: 389.1 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/2.668, allocations: 3.552 MB / 1.128 GB, free: 387.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.903e-05/2.669, allocations: 11.67 kB / 1.128 GB, free: 387.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/2.672, allocations: 0.8804 MB / 1.129 GB, free: 387.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/2.675, allocations: 0.5221 MB / 1.13 GB, free: 387.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/2.69, allocations: 10.23 MB / 1.14 GB, free: 379.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/2.694, allocations: 365.5 kB / 1.14 GB, free: 379.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008578/2.695, allocations: 124.7 kB / 1.14 GB, free: 379.8 MB / 0.8106 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,(7,57.1%) 46,(1,100.0%) 4} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00386/2.699, allocations: 0.8022 MB / 1.141 GB, free: 379.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/2.7, allocations: 219.6 kB / 1.141 GB, free: 379.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/2.717, allocations: 9.926 MB / 1.151 GB, free: 374 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.421e-05/2.717, allocations: 119.9 kB / 1.151 GB, free: 374 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.301e-05/2.717, allocations: 8 kB / 1.151 GB, free: 374 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.654e-05/2.717, allocations: 18.52 kB / 1.151 GB, free: 374 MB / 0.8106 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.02946/2.747, allocations: 15.22 MB / 1.166 GB, free: 359.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/2.747, allocations: 0 / 1.166 GB, free: 359.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/2.75, allocations: 439.4 kB / 1.166 GB, free: 359.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0049/2.754, allocations: 2.271 MB / 1.169 GB, free: 357.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/2.755, allocations: 83.94 kB / 1.169 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/2.769, allocations: 10.89 MB / 1.179 GB, free: 345.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.769, allocations: 4.031 kB / 1.179 GB, free: 345.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/2.786, allocations: 9.592 MB / 1.189 GB, free: 336.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002711/2.789, allocations: 0.7492 MB / 1.189 GB, free: 335.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/2.79, allocations: 59.98 kB / 1.189 GB, free: 335.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003762/2.794, allocations: 399.2 kB / 1.19 GB, free: 334.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008018/2.795, allocations: 226.2 kB / 1.19 GB, free: 334.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000462/2.795, allocations: 103.9 kB / 1.19 GB, free: 334.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002074/2.797, allocations: 0.8471 MB / 1.191 GB, free: 333.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.2e-07/2.797, allocations: 0 / 1.191 GB, free: 333.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0143/2.812, allocations: 2.838 MB / 1.194 GB, free: 330.9 MB / 0.8106 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,63.9%) 47} * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01072/2.822, allocations: 2.105 MB / 1.196 GB, free: 329.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01519/2.838, allocations: 6.845 MB / 1.203 GB, free: 322.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/2.838, allocations: 0 / 1.203 GB, free: 322.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0058/2.844, allocations: 3.486 MB / 1.206 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006038/2.85, allocations: 0.8691 MB / 1.207 GB, free: 317.8 MB / 0.8106 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932: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.02056/2.87, allocations: 12.25 MB / 1.219 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003579/2.874, allocations: 2.618 MB / 1.221 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005001/2.879, allocations: 2.154 MB / 1.223 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/2.88, allocations: 207.4 kB / 1.224 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of SimCode: time 1.623e-06/2.88, allocations: 0 / 1.224 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.1417/3.022, allocations: 96.88 MB / 1.318 GB, free: 204.2 MB / 0.8106 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