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.0009712/0.0009712, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6349/0.6349, allocations: 89.64 MB / 381.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003897, allocations: 16.98 kB / 461.3 MB, free: 24.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 68.82 MB / 0.5177 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5018/0.6335, allocations: 242.8 MB / 0.7548 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.06646/0.7, allocations: 55.77 MB / 0.8093 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005074/0.7052, allocations: 47.88 kB / 0.8093 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.3909/1.096, allocations: 2.854 MB / 0.8121 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02779/1.124, allocations: 6.22 MB / 0.8182 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01798/1.142, allocations: 5.601 MB / 0.8237 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01193/1.154, allocations: 7.512 MB / 0.831 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/1.158, allocations: 1.821 MB / 0.8328 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01571/1.173, allocations: 6.848 MB / 0.8395 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005773/1.179, allocations: 2.266 MB / 0.8417 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009857/1.18, allocations: 152.8 kB / 0.8418 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02794/1.208, allocations: 10.25 MB / 0.8518 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001991/1.21, allocations: 0.6824 MB / 0.8525 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005355/1.215, allocations: 2.105 MB / 0.8546 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02007/1.236, allocations: 8.993 MB / 0.8633 GB, free: 0 / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.236, allocations: 128 / 0.8633 GB, free: 0 / 0.6075 GB Notification: Performance of FrontEnd: time 4.819e-06/1.236, allocations: 64 / 0.8633 GB, free: 0 / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002577/1.236, allocations: 0 / 0.8633 GB, free: 0 / 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.01718/1.253, allocations: 5.15 MB / 0.8684 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.253, allocations: 9.625 kB / 0.8684 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005561/1.259, allocations: 0.9371 MB / 0.8693 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004216/1.263, allocations: 1.894 MB / 0.8711 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/1.263, allocations: 315.6 kB / 0.8714 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/1.264, allocations: 430.8 kB / 0.8719 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/1.276, allocations: 5.121 MB / 0.8769 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-05/1.276, allocations: 3 kB / 0.8769 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/1.277, allocations: 168 kB / 0.877 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.277, allocations: 146.6 kB / 0.8772 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/1.287, allocations: 4.442 MB / 0.8815 GB, free: 9.754 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.03349/1.32, allocations: 27.53 MB / 0.9084 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/1.328, allocations: 3.684 MB / 0.912 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/1.331, allocations: 1.462 MB / 0.9134 GB, free: 424 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7477/2.078, allocations: 200.7 MB / 1.109 GB, free: 218.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.64e-05/2.078, allocations: 60.83 kB / 1.109 GB, free: 218.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=255): time 6.893e-06/2.078, allocations: 0 / 1.109 GB, free: 218.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=267): time 0.03208/2.111, allocations: 12.23 MB / 1.121 GB, free: 216.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/2.111, allocations: 105.2 kB / 1.122 GB, free: 216.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/2.113, allocations: 1.353 MB / 1.123 GB, free: 216.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002415/2.113, allocations: 73.64 kB / 1.123 GB, free: 216.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008194/2.114, allocations: 1.473 MB / 1.124 GB, free: 215.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006964/2.114, allocations: 0.9044 MB / 1.125 GB, free: 215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/2.115, allocations: 257.4 kB / 1.125 GB, free: 214.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.752e-05/2.115, allocations: 301.1 kB / 1.126 GB, free: 214.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/2.117, allocations: 1.111 MB / 1.127 GB, free: 214.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/2.119, allocations: 1.573 MB / 1.128 GB, free: 214.2 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.004501/2.124, allocations: 2.927 MB / 1.131 GB, free: 213.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/2.124, allocations: 3.906 kB / 1.131 GB, free: 213.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.007563/2.131, allocations: 3.814 MB / 1.135 GB, free: 213.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002034/2.132, allocations: 440 kB / 1.135 GB, free: 212.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/2.132, allocations: 8.875 kB / 1.135 GB, free: 212.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/2.135, allocations: 0.8862 MB / 1.136 GB, free: 212.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/2.137, allocations: 0.5334 MB / 1.137 GB, free: 212.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/2.15, allocations: 10.25 MB / 1.147 GB, free: 207.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/2.153, allocations: 370.6 kB / 1.147 GB, free: 207.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/2.154, allocations: 130 kB / 1.147 GB, free: 207.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/2.154, allocations: 4.844 kB / 1.147 GB, free: 207.5 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007129/2.161, allocations: 3.585 MB / 1.151 GB, free: 207.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/2.161, allocations: 13.62 kB / 1.151 GB, free: 207.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/2.164, allocations: 0.879 MB / 1.152 GB, free: 207.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/2.166, allocations: 0.5202 MB / 1.152 GB, free: 207.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/2.179, allocations: 10.25 MB / 1.162 GB, free: 202.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/2.182, allocations: 364.9 kB / 1.163 GB, free: 202.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/2.183, allocations: 124.3 kB / 1.163 GB, free: 202.1 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 (277): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (7,46,57.1%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002327/2.185, allocations: 0.8204 MB / 1.163 GB, free: 201.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006393/2.186, allocations: 214 kB / 1.164 GB, free: 201.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/2.199, allocations: 9.95 MB / 1.173 GB, free: 198.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-05/2.199, allocations: 123.6 kB / 1.173 GB, free: 198.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/2.199, allocations: 8 kB / 1.173 GB, free: 198.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/2.199, allocations: 18.48 kB / 1.174 GB, free: 198.7 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.01968/2.219, allocations: 15.26 MB / 1.188 GB, free: 189.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/2.219, allocations: 0 / 1.188 GB, free: 189.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/2.221, allocations: 434.2 kB / 1.189 GB, free: 188.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003934/2.225, allocations: 2.272 MB / 1.191 GB, free: 186.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003501/2.225, allocations: 84.81 kB / 1.191 GB, free: 186.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/2.235, allocations: 10.92 MB / 1.202 GB, free: 176.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/2.235, allocations: 0 / 1.202 GB, free: 176.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/2.249, allocations: 9.642 MB / 1.211 GB, free: 166.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/2.251, allocations: 0.7454 MB / 1.212 GB, free: 165.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006389/2.252, allocations: 59.94 kB / 1.212 GB, free: 165.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/2.254, allocations: 407.1 kB / 1.212 GB, free: 165.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005114/2.255, allocations: 233.1 kB / 1.213 GB, free: 164.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/2.255, allocations: 99.94 kB / 1.213 GB, free: 164.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001203/2.256, allocations: 0.8627 MB / 1.214 GB, free: 164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/2.256, allocations: 6.734 kB / 1.214 GB, free: 164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.008915/2.265, allocations: 2.833 MB / 1.216 GB, free: 161.3 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.006947/2.272, allocations: 2.102 MB / 1.218 GB, free: 159.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01169/2.284, allocations: 6.887 MB / 1.225 GB, free: 152.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/2.284, allocations: 9.781 kB / 1.225 GB, free: 152.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/2.289, allocations: 3.477 MB / 1.228 GB, free: 149.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004817/2.294, allocations: 0.8634 MB / 1.229 GB, free: 148.4 MB / 0.8262 GB [/var/lib/jenkins1/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.01631/2.31, allocations: 12.68 MB / 1.242 GB, free: 135.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/2.312, allocations: 2.596 MB / 1.244 GB, free: 133.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/2.313, allocations: 227.3 kB / 1.244 GB, free: 132.9 MB / 0.8262 GB Notification: Performance of SimCode: time 1.012e-06/2.314, allocations: 3.938 kB / 1.244 GB, free: 132.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.4098/2.723, allocations: 182.5 MB / 1.423 GB, free: 380.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches