Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Examples.SimpleEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 176.7 kB / 15.77 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 94.28 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8678/0.8678, allocations: 90.6 MB / 409.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 8 kB / 485.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4603, allocations: 66.28 MB / 0.5392 GB, free: 45.68 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5558/1.016, allocations: 227.5 MB / 0.7614 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.05488/1.071, allocations: 50.38 MB / 0.8106 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005255/1.076, allocations: 50.5 kB / 0.8107 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.008381/1.085, allocations: 2.669 MB / 0.8133 GB, free: 15.23 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.02363/1.109, allocations: 6.077 MB / 0.8192 GB, free: 15.05 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.01901/1.128, allocations: 4.812 MB / 0.8239 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.138, allocations: 6.63 MB / 0.8304 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003607/1.142, allocations: 1.652 MB / 0.832 GB, free: 28.94 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0158/1.157, allocations: 10.34 MB / 0.8421 GB, free: 28.36 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00585/1.163, allocations: 2.122 MB / 0.8442 GB, free: 27.71 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0008598/1.164, allocations: 147.2 kB / 0.8443 GB, free: 27.71 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02453/1.189, allocations: 9.458 MB / 0.8535 GB, free: 24.16 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/1.19, allocations: 0.6407 MB / 0.8542 GB, free: 23.71 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002277/1.193, allocations: 0.8763 MB / 0.855 GB, free: 23.12 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/1.209, allocations: 8.492 MB / 0.8633 GB, free: 16.15 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.209, allocations: 0 / 0.8633 GB, free: 16.15 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.544e-06/1.209, allocations: 0 / 0.8633 GB, free: 16.15 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001845/1.209, allocations: 0 / 0.8633 GB, free: 16.15 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1039 * Number of variables: 1039 Notification: Performance of Generate backend data structure: time 0.01553/1.225, allocations: 5.094 MB / 0.8683 GB, free: 11.41 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.225, allocations: 12.03 kB / 0.8683 GB, free: 11.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005545/1.231, allocations: 0.9156 MB / 0.8692 GB, free: 10.61 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/1.235, allocations: 1.77 MB / 0.8709 GB, free: 9.383 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/1.235, allocations: 318.3 kB / 0.8712 GB, free: 9.203 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009815/1.236, allocations: 426 kB / 0.8716 GB, free: 8.922 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/1.247, allocations: 5.08 MB / 0.8766 GB, free: 5.305 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.149e-05/1.248, allocations: 7.844 kB / 0.8766 GB, free: 5.297 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/1.248, allocations: 172.1 kB / 0.8768 GB, free: 5.262 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/1.248, allocations: 147.4 kB / 0.8769 GB, free: 5.117 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.258, allocations: 4.41 MB / 0.8812 GB, free: 2.113 MB / 0.573 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.03374/1.292, allocations: 27.44 MB / 0.908 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/1.3, allocations: 3.673 MB / 0.9116 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/1.303, allocations: 1.459 MB / 0.913 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6146/1.918, allocations: 168.2 MB / 1.077 GB, free: 258.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/1.918, allocations: 65.58 kB / 1.077 GB, free: 258.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=254): time 9.828e-06/1.918, allocations: 0 / 1.077 GB, free: 258.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=266): time 0.04008/1.958, allocations: 12.19 MB / 1.089 GB, free: 250.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/1.958, allocations: 107.1 kB / 1.089 GB, free: 250.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/1.96, allocations: 1.21 MB / 1.091 GB, free: 249.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004487/1.961, allocations: 73.7 kB / 1.091 GB, free: 249.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009051/1.962, allocations: 1.432 MB / 1.092 GB, free: 247.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009966/1.963, allocations: 0.9062 MB / 1.093 GB, free: 246.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/1.963, allocations: 52 kB / 1.093 GB, free: 246.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.963, allocations: 411.3 kB / 1.093 GB, free: 246.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/1.965, allocations: 1.094 MB / 1.094 GB, free: 245.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/1.968, allocations: 1.554 MB / 1.096 GB, free: 243.5 MB / 0.698 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.00273/1.971, allocations: 1.373 MB / 1.097 GB, free: 242.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.971, allocations: 4 kB / 1.097 GB, free: 242.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.008537/1.979, allocations: 3.775 MB / 1.101 GB, free: 238.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002613/1.979, allocations: 435.9 kB / 1.101 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.979, allocations: 13.42 kB / 1.101 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/1.983, allocations: 0.8553 MB / 1.102 GB, free: 236.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/1.985, allocations: 0.5305 MB / 1.103 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/1.999, allocations: 10.26 MB / 1.113 GB, free: 225.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/2.003, allocations: 371.3 kB / 1.113 GB, free: 225.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003638/2.003, allocations: 120.5 kB / 1.113 GB, free: 225.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/2.003, allocations: 4 kB / 1.113 GB, free: 225.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007023/2.01, allocations: 3.559 MB / 1.117 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/2.01, allocations: 12.94 kB / 1.117 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/2.013, allocations: 0.8638 MB / 1.118 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/2.015, allocations: 0.5148 MB / 1.118 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/2.029, allocations: 10.26 MB / 1.128 GB, free: 209.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/2.033, allocations: 359.3 kB / 1.128 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004594/2.033, allocations: 124 kB / 1.129 GB, free: 208.9 MB / 0.698 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 (276): * Single equations (assignments): 271 * 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,63.9%) 47,(1,100.0%) 4} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00231/2.036, allocations: 0.8113 MB / 1.129 GB, free: 208.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/2.036, allocations: 206.6 kB / 1.129 GB, free: 207.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/2.049, allocations: 9.875 MB / 1.139 GB, free: 197.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.337e-05/2.049, allocations: 122.9 kB / 1.139 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/2.049, allocations: 11.98 kB / 1.139 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/2.049, allocations: 19.84 kB / 1.139 GB, free: 197.8 MB / 0.698 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.01998/2.069, allocations: 15.16 MB / 1.154 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/2.069, allocations: 0 / 1.154 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/2.071, allocations: 424.6 kB / 1.154 GB, free: 182.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/2.075, allocations: 2.274 MB / 1.157 GB, free: 179.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/2.075, allocations: 83.94 kB / 1.157 GB, free: 179.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/2.086, allocations: 10.87 MB / 1.167 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.086, allocations: 3.938 kB / 1.167 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/2.1, allocations: 9.561 MB / 1.177 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/2.102, allocations: 0.7298 MB / 1.177 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/2.103, allocations: 60 kB / 1.178 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/2.105, allocations: 399.2 kB / 1.178 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/2.106, allocations: 226.2 kB / 1.178 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/2.106, allocations: 99.94 kB / 1.178 GB, free: 157.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00103/2.107, allocations: 0.7581 MB / 1.179 GB, free: 156.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/2.107, allocations: 0 / 1.179 GB, free: 156.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009436/2.116, allocations: 2.8 MB / 1.182 GB, free: 153.7 MB / 0.698 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,$cse61.region3boundary,$cse63.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 (253): * Single equations (assignments): 224 * 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,(7,57.1%) 46} * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007451/2.124, allocations: 2.069 MB / 1.184 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0123/2.136, allocations: 6.84 MB / 1.19 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/2.136, allocations: 4 kB / 1.19 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004953/2.141, allocations: 3.477 MB / 1.194 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/2.146, allocations: 0.8083 MB / 1.195 GB, free: 140.8 MB / 0.698 GB [/var/lib/jenkins1/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.01645/2.162, allocations: 12.19 MB / 1.206 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/2.164, allocations: 2.557 MB / 1.209 GB, free: 126 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/2.165, allocations: 227.3 kB / 1.209 GB, free: 125.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.723e-06/2.165, allocations: 0 / 1.209 GB, free: 125.8 MB / 0.698 GB Notification: Performance of Templates: time 0.4968/2.662, allocations: 179.2 MB / 1.384 GB, free: 271.4 MB / 0.698 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Examples.SimpleEngine_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.SimpleEngine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches