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.008506/0.008506, allocations: 169.5 kB / 15.13 MB, free: 6.027 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.383/1.383, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008037/0.0008035, allocations: 94.28 kB / 269.6 MB, free: 13.33 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.7113/0.7113, allocations: 90.6 MB / 408.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003238, allocations: 8 kB / 485.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3443, allocations: 66.28 MB / 0.5386 GB, free: 45.55 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.4848/0.8291, allocations: 227.5 MB / 0.7608 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.05446/0.8836, allocations: 50.39 MB / 0.81 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004985/0.8887, allocations: 48.69 kB / 0.81 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.007804/0.8965, allocations: 2.668 MB / 0.8127 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.02129/0.9178, allocations: 6.067 MB / 0.8186 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01718/0.935, allocations: 4.823 MB / 0.8233 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.008859/0.9439, allocations: 6.63 MB / 0.8298 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003917/0.9478, allocations: 1.648 MB / 0.8314 GB, free: 29.02 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/0.9625, allocations: 10.34 MB / 0.8415 GB, free: 28.45 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.9673, allocations: 2.123 MB / 0.8435 GB, free: 27.79 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0008223/0.9682, allocations: 147 kB / 0.8437 GB, free: 27.79 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02471/0.9929, allocations: 9.457 MB / 0.8529 GB, free: 24.21 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.9944, allocations: 0.6443 MB / 0.8535 GB, free: 23.76 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.9966, allocations: 0.8685 MB / 0.8544 GB, free: 23.18 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01625/1.013, allocations: 8.5 MB / 0.8627 GB, free: 16.2 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.013, allocations: 0 / 0.8627 GB, free: 16.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.976e-06/1.013, allocations: 0 / 0.8627 GB, free: 16.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001765/1.013, allocations: 0 / 0.8627 GB, free: 16.2 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.01502/1.028, allocations: 5.096 MB / 0.8677 GB, free: 11.46 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/1.028, allocations: 8.031 kB / 0.8677 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005163/1.033, allocations: 0.9141 MB / 0.8686 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/1.037, allocations: 1.771 MB / 0.8703 GB, free: 9.43 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/1.038, allocations: 316.5 kB / 0.8706 GB, free: 9.254 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009023/1.038, allocations: 429.7 kB / 0.871 GB, free: 8.969 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/1.05, allocations: 5.083 MB / 0.876 GB, free: 5.352 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.657e-05/1.05, allocations: 11.84 kB / 0.876 GB, free: 5.34 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003618/1.051, allocations: 169.1 kB / 0.8761 GB, free: 5.305 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/1.051, allocations: 139.4 kB / 0.8763 GB, free: 5.168 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/1.061, allocations: 4.413 MB / 0.8806 GB, free: 2.16 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.02901/1.09, allocations: 27.46 MB / 0.9074 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007195/1.097, allocations: 3.663 MB / 0.911 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/1.1, allocations: 1.462 MB / 0.9124 GB, free: 5.156 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6162/1.716, allocations: 168.2 MB / 1.077 GB, free: 258.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.553e-05/1.716, allocations: 58.84 kB / 1.077 GB, free: 258.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=254): time 4.569e-06/1.716, allocations: 0 / 1.077 GB, free: 258.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=266): time 0.03051/1.747, allocations: 12.19 MB / 1.089 GB, free: 250.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.747, allocations: 108.7 kB / 1.089 GB, free: 250.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.749, allocations: 1.205 MB / 1.09 GB, free: 249.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002584/1.749, allocations: 73.7 kB / 1.09 GB, free: 249.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/1.75, allocations: 1.43 MB / 1.091 GB, free: 247.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000639/1.75, allocations: 0.9017 MB / 1.092 GB, free: 246.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.75, allocations: 53.31 kB / 1.092 GB, free: 246.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.751, allocations: 411.3 kB / 1.093 GB, free: 246.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/1.753, allocations: 1.091 MB / 1.094 GB, free: 245.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/1.756, allocations: 1.566 MB / 1.095 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.002899/1.758, allocations: 1.377 MB / 1.097 GB, free: 242 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/1.758, allocations: 4 kB / 1.097 GB, free: 242 MB / 0.698 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.007868/1.766, allocations: 3.777 MB / 1.1 GB, free: 238.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002241/1.767, allocations: 431.5 kB / 1.101 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.767, allocations: 8 kB / 1.101 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/1.77, allocations: 0.8674 MB / 1.102 GB, free: 236.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/1.772, allocations: 0.5188 MB / 1.102 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/1.785, allocations: 10.26 MB / 1.112 GB, free: 225.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/1.789, allocations: 367.2 kB / 1.112 GB, free: 225.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006328/1.789, allocations: 120 kB / 1.113 GB, free: 225 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/1.79, allocations: 7.75 kB / 1.113 GB, free: 225 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008934/1.798, allocations: 3.556 MB / 1.116 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/1.799, allocations: 12 kB / 1.116 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/1.801, allocations: 0.8606 MB / 1.117 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/1.804, allocations: 0.5203 MB / 1.117 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.818, allocations: 10.25 MB / 1.127 GB, free: 209.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/1.821, allocations: 365.2 kB / 1.128 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005284/1.821, allocations: 125.7 kB / 1.128 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.002198/1.824, allocations: 0.8143 MB / 1.129 GB, free: 208 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006958/1.824, allocations: 205.5 kB / 1.129 GB, free: 207.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.838, allocations: 9.874 MB / 1.139 GB, free: 197.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.03e-05/1.838, allocations: 123.8 kB / 1.139 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.952e-05/1.838, allocations: 8 kB / 1.139 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.886e-05/1.838, allocations: 20.92 kB / 1.139 GB, free: 197.7 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.02003/1.858, allocations: 15.15 MB / 1.153 GB, free: 182.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.858, allocations: 0 / 1.153 GB, free: 182.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/1.86, allocations: 431.4 kB / 1.154 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0044/1.864, allocations: 2.279 MB / 1.156 GB, free: 179.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004055/1.865, allocations: 80.52 kB / 1.156 GB, free: 179.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.876, allocations: 10.86 MB / 1.167 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.876, allocations: 4.062 kB / 1.167 GB, free: 168.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.891, allocations: 9.554 MB / 1.176 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.893, allocations: 0.7298 MB / 1.177 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006239/1.893, allocations: 56 kB / 1.177 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/1.896, allocations: 403.2 kB / 1.177 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005208/1.897, allocations: 230.1 kB / 1.177 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/1.897, allocations: 103.9 kB / 1.178 GB, free: 157.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001206/1.898, allocations: 0.7581 MB / 1.178 GB, free: 156.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.898, allocations: 3.828 kB / 1.178 GB, free: 156.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008937/1.907, allocations: 2.796 MB / 1.181 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.007349/1.915, allocations: 2.078 MB / 1.183 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.927, allocations: 6.837 MB / 1.19 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.927, allocations: 0 / 1.19 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005227/1.933, allocations: 3.473 MB / 1.193 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.005218/1.938, allocations: 0.8147 MB / 1.194 GB, free: 140.7 MB / 0.698 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.01708/1.955, allocations: 12.12 MB / 1.206 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/1.958, allocations: 2.592 MB / 1.208 GB, free: 126 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004568/1.962, allocations: 2.138 MB / 1.21 GB, free: 123.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009324/1.963, allocations: 203.4 kB / 1.211 GB, free: 123.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/1.963, allocations: 0 / 1.211 GB, free: 123.7 MB / 0.698 GB Notification: Performance of Templates: time 0.1253/2.089, allocations: 94.57 MB / 1.303 GB, free: 29.38 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