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.009237/0.009237, allocations: 171.1 kB / 15.12 MB, free: 5.559 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.83/1.83, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001022/0.001022, allocations: 82.88 kB / 269.6 MB, free: 13.36 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.9756/0.9756, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004818, allocations: 8 kB / 485.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6026/0.6031, allocations: 66.28 MB / 0.5386 GB, free: 45.46 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.2236/0.8268, allocations: 203.6 MB / 0.7373 GB, free: 32 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.5736/1.4, allocations: 45.8 MB / 0.7821 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006276/1.407, allocations: 51.06 kB / 0.7821 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/1.418, allocations: 2.814 MB / 0.7849 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.026/1.444, allocations: 6.269 MB / 0.791 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02255/1.466, allocations: 5.087 MB / 0.7959 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01601/1.482, allocations: 4.197 MB / 0.8 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004634/1.487, allocations: 1.646 MB / 0.8017 GB, free: 30.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02283/1.51, allocations: 10.14 MB / 0.8116 GB, free: 30.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007056/1.517, allocations: 1.848 MB / 0.8134 GB, free: 30.67 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0009837/1.518, allocations: 145 kB / 0.8135 GB, free: 30.67 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03435/1.552, allocations: 10.42 MB / 0.8237 GB, free: 30.64 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002423/1.555, allocations: 0.6313 MB / 0.8243 GB, free: 30.64 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004379/1.559, allocations: 0.8746 MB / 0.8252 GB, free: 30.61 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02696/1.586, allocations: 8.43 MB / 0.8334 GB, free: 26.86 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.586, allocations: 0 / 0.8334 GB, free: 26.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.867e-06/1.586, allocations: 0 / 0.8334 GB, free: 26.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004547/1.587, allocations: 0 / 0.8334 GB, free: 26.86 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.02443/1.611, allocations: 5.087 MB / 0.8384 GB, free: 22.88 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/1.611, allocations: 8.031 kB / 0.8384 GB, free: 22.87 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006746/1.618, allocations: 0.9216 MB / 0.8393 GB, free: 22.07 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006656/1.625, allocations: 1.77 MB / 0.841 GB, free: 20.95 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006373/1.626, allocations: 309.4 kB / 0.8413 GB, free: 20.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/1.628, allocations: 436.2 kB / 0.8417 GB, free: 20.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/1.64, allocations: 5.044 MB / 0.8466 GB, free: 16.91 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-05/1.64, allocations: 6.625 kB / 0.8466 GB, free: 16.91 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003917/1.641, allocations: 174.4 kB / 0.8468 GB, free: 16.87 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/1.641, allocations: 139.4 kB / 0.8469 GB, free: 16.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/1.652, allocations: 4.412 MB / 0.8512 GB, free: 13.75 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.04223/1.694, allocations: 27.51 MB / 0.8781 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008249/1.702, allocations: 3.67 MB / 0.8817 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.755/2.457, allocations: 168.2 MB / 1.046 GB, free: 318.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/2.458, allocations: 60.94 kB / 1.046 GB, free: 318.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=254): time 6.132e-06/2.458, allocations: 3.281 kB / 1.046 GB, free: 318.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=266): time 0.043/2.501, allocations: 12.03 MB / 1.058 GB, free: 315.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/2.501, allocations: 107.5 kB / 1.058 GB, free: 315.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/2.504, allocations: 1.204 MB / 1.059 GB, free: 315.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006258/2.504, allocations: 71.86 kB / 1.059 GB, free: 315.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/2.506, allocations: 1.437 MB / 1.061 GB, free: 314.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/2.507, allocations: 0.9032 MB / 1.061 GB, free: 313.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/2.507, allocations: 50.81 kB / 1.061 GB, free: 313.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002469/2.508, allocations: 407.1 kB / 1.062 GB, free: 313.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/2.51, allocations: 1.095 MB / 1.063 GB, free: 312.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/2.513, allocations: 1.533 MB / 1.064 GB, free: 311.7 MB / 0.7292 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.003158/2.517, allocations: 1.374 MB / 1.066 GB, free: 311 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/2.517, allocations: 4.188 kB / 1.066 GB, free: 311 MB / 0.7292 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.008886/2.525, allocations: 3.761 MB / 1.069 GB, free: 309.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002222/2.528, allocations: 4.53 MB / 1.074 GB, free: 304.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/2.528, allocations: 11.88 kB / 1.074 GB, free: 304.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/2.531, allocations: 0.8522 MB / 1.075 GB, free: 304.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/2.534, allocations: 0.5265 MB / 1.075 GB, free: 304.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/2.553, allocations: 10.35 MB / 1.085 GB, free: 296.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005046/2.558, allocations: 375.6 kB / 1.086 GB, free: 296.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/2.559, allocations: 123.9 kB / 1.086 GB, free: 296.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/2.559, allocations: 3.844 kB / 1.086 GB, free: 296.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01164/2.571, allocations: 3.533 MB / 1.089 GB, free: 295.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-05/2.571, allocations: 15.44 kB / 1.089 GB, free: 295.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003145/2.574, allocations: 0.8574 MB / 1.09 GB, free: 294.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/2.577, allocations: 0.5132 MB / 1.091 GB, free: 294.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/2.594, allocations: 10.36 MB / 1.101 GB, free: 283.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/2.598, allocations: 371.7 kB / 1.101 GB, free: 283.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009359/2.599, allocations: 117.2 kB / 1.101 GB, free: 283.1 MB / 0.7292 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,58.3%) 47,(1,100.0%) 4} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00465/2.604, allocations: 0.8091 MB / 1.102 GB, free: 282.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/2.606, allocations: 213.5 kB / 1.102 GB, free: 282 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/2.622, allocations: 9.857 MB / 1.112 GB, free: 272.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.139e-05/2.622, allocations: 119.8 kB / 1.112 GB, free: 272 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/2.622, allocations: 12 kB / 1.112 GB, free: 272 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.855e-05/2.622, allocations: 19.94 kB / 1.112 GB, free: 272 MB / 0.7292 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.02141/2.643, allocations: 15.09 MB / 1.127 GB, free: 256.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/2.644, allocations: 0 / 1.127 GB, free: 256.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/2.645, allocations: 431.4 kB / 1.127 GB, free: 256.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003824/2.649, allocations: 2.228 MB / 1.129 GB, free: 254.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003961/2.65, allocations: 86.09 kB / 1.129 GB, free: 254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/2.661, allocations: 10.99 MB / 1.14 GB, free: 242.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.661, allocations: 3.828 kB / 1.14 GB, free: 242.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/2.676, allocations: 9.516 MB / 1.149 GB, free: 232.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/2.679, allocations: 0.7337 MB / 1.15 GB, free: 232.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004608/2.679, allocations: 56 kB / 1.15 GB, free: 232.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/2.682, allocations: 399.2 kB / 1.151 GB, free: 231.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005104/2.682, allocations: 226.2 kB / 1.151 GB, free: 231.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/2.683, allocations: 99.94 kB / 1.151 GB, free: 231.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001179/2.684, allocations: 0.7581 MB / 1.152 GB, free: 230.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/2.684, allocations: 3.062 kB / 1.152 GB, free: 230.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01434/2.698, allocations: 2.795 MB / 1.154 GB, free: 228 MB / 0.7292 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,(6,58.3%) 47} * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.009951/2.708, allocations: 2.071 MB / 1.156 GB, free: 226.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01625/2.724, allocations: 6.813 MB / 1.163 GB, free: 219.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/2.724, allocations: 1.25 kB / 1.163 GB, free: 219.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007372/2.732, allocations: 3.47 MB / 1.166 GB, free: 215.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005463/2.737, allocations: 0.764 MB / 1.167 GB, free: 215.1 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/2.76, allocations: 12.11 MB / 1.179 GB, free: 203 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/2.763, allocations: 2.678 MB / 1.182 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004762/2.767, allocations: 2.131 MB / 1.184 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/2.768, allocations: 207.4 kB / 1.184 GB, free: 198 MB / 0.7292 GB Notification: Performance of SimCode: time 2.635e-06/2.768, allocations: 0 / 1.184 GB, free: 198 MB / 0.7292 GB Notification: Performance of Templates: time 0.1896/2.958, allocations: 94.33 MB / 1.276 GB, free: 103.9 MB / 0.7292 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