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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001304, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7747/0.7747, allocations: 91.2 MB / 381.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 81.53 kB / 459.6 MB, free: 23.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1649, allocations: 67.7 MB / 0.515 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5519/0.7169, allocations: 246.9 MB / 0.756 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.06359/0.7805, allocations: 56.69 MB / 0.8114 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005751/0.7863, allocations: 111.3 kB / 0.8115 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009783/0.7961, allocations: 2.869 MB / 0.8143 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02533/0.8215, allocations: 6.265 MB / 0.8204 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01642/0.8379, allocations: 5.601 MB / 0.8259 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.3582/1.196, allocations: 7.655 MB / 0.8334 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003024/1.199, allocations: 1.867 MB / 0.8352 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01787/1.217, allocations: 7.245 MB / 0.8423 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006525/1.224, allocations: 2.729 MB / 0.8449 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002018/1.226, allocations: 331.9 kB / 0.8452 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02627/1.252, allocations: 10.43 MB / 0.8554 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00248/1.255, allocations: 0.941 MB / 0.8563 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005623/1.26, allocations: 2.434 MB / 0.8587 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02804/1.288, allocations: 12.09 MB / 0.8705 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.288, allocations: 0 / 0.8705 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/1.288, allocations: 4 kB / 0.8705 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002655/1.289, allocations: 3.594 kB / 0.8705 GB, free: 9.242 MB / 0.6231 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.0194/1.308, allocations: 6.197 MB / 0.8766 GB, free: 22.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.308, allocations: 6.906 kB / 0.8766 GB, free: 22.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/1.313, allocations: 0.9473 MB / 0.8775 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/1.317, allocations: 2.187 MB / 0.8797 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/1.317, allocations: 316 kB / 0.88 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007223/1.318, allocations: 435.2 kB / 0.8804 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.33, allocations: 5.085 MB / 0.8853 GB, free: 21.65 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.247e-05/1.33, allocations: 7.031 kB / 0.8853 GB, free: 21.65 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/1.33, allocations: 167 kB / 0.8855 GB, free: 21.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/1.33, allocations: 149.1 kB / 0.8856 GB, free: 21.64 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009875/1.34, allocations: 4.394 MB / 0.8899 GB, free: 21.6 MB / 0.6387 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.03525/1.376, allocations: 27.53 MB / 0.9168 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/1.383, allocations: 3.64 MB / 0.9204 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/1.386, allocations: 1.449 MB / 0.9218 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6445/2.03, allocations: 198.8 MB / 1.116 GB, free: 437.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.686e-05/2.03, allocations: 65.25 kB / 1.116 GB, free: 437.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=255): time 4.398e-06/2.03, allocations: 0 / 1.116 GB, free: 437.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=267): time 0.03354/2.064, allocations: 12.03 MB / 1.128 GB, free: 434 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/2.064, allocations: 106.6 kB / 1.128 GB, free: 433.9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/2.066, allocations: 1.55 MB / 1.129 GB, free: 433.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003485/2.067, allocations: 75.92 kB / 1.129 GB, free: 433.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009868/2.068, allocations: 1.575 MB / 1.131 GB, free: 432.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008135/2.069, allocations: 0.9117 MB / 1.132 GB, free: 431.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/2.07, allocations: 0.5094 MB / 1.132 GB, free: 431.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.861e-05/2.07, allocations: 301.7 kB / 1.133 GB, free: 430.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/2.072, allocations: 1.1 MB / 1.134 GB, free: 430.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/2.075, allocations: 1.556 MB / 1.135 GB, free: 429.4 MB / 0.8419 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.005551/2.081, allocations: 2.891 MB / 1.138 GB, free: 427.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/2.081, allocations: 6.844 kB / 1.138 GB, free: 427.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.009458/2.09, allocations: 3.786 MB / 1.142 GB, free: 426.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/2.09, allocations: 11.72 kB / 1.142 GB, free: 426.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/2.09, allocations: 12.19 kB / 1.142 GB, free: 426.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003134/2.093, allocations: 0.8533 MB / 1.143 GB, free: 425.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/2.096, allocations: 0.5218 MB / 1.143 GB, free: 425.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/2.11, allocations: 10.12 MB / 1.153 GB, free: 418.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/2.114, allocations: 357.7 kB / 1.153 GB, free: 418.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005198/2.114, allocations: 120.3 kB / 1.154 GB, free: 418.3 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003582/2.118, allocations: 1.692 MB / 1.155 GB, free: 417.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00245/2.12, allocations: 1.545 MB / 1.157 GB, free: 416.6 MB / 0.8419 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_lambda0): time 0.004727/2.125, allocations: 2.865 MB / 1.159 GB, free: 414.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-05/2.125, allocations: 1.906 kB / 1.159 GB, free: 414.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=335) (initialization_lambda0): time 0.007559/2.133, allocations: 3.774 MB / 1.163 GB, free: 413.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/2.133, allocations: 11.59 kB / 1.163 GB, free: 413.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/2.133, allocations: 7.906 kB / 1.163 GB, free: 413.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/2.136, allocations: 0.8476 MB / 1.164 GB, free: 413 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/2.138, allocations: 0.5191 MB / 1.165 GB, free: 413 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/2.151, allocations: 10.11 MB / 1.174 GB, free: 405.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/2.154, allocations: 358.2 kB / 1.175 GB, free: 405.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005697/2.155, allocations: 119.9 kB / 1.175 GB, free: 405.4 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: 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 (276): * Single equations (assignments): 271 * 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%), (6,47,63.9%), (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.001071/2.156, allocations: 362.3 kB / 1.175 GB, free: 405.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008745/2.157, allocations: 240 kB / 1.175 GB, free: 405 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/2.17, allocations: 9.87 MB / 1.185 GB, free: 397.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-05/2.17, allocations: 127.7 kB / 1.185 GB, free: 397.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/2.17, allocations: 8 kB / 1.185 GB, free: 397.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/2.17, allocations: 15.94 kB / 1.185 GB, free: 397.7 MB / 0.8419 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.02034/2.19, allocations: 15.24 MB / 1.2 GB, free: 382.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/2.19, allocations: 0 / 1.2 GB, free: 382.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/2.192, allocations: 431.4 kB / 1.2 GB, free: 381.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/2.196, allocations: 2.236 MB / 1.203 GB, free: 379.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/2.196, allocations: 83.94 kB / 1.203 GB, free: 379.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/2.207, allocations: 10.83 MB / 1.213 GB, free: 368.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.207, allocations: 3.938 kB / 1.213 GB, free: 368.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/2.22, allocations: 9.579 MB / 1.223 GB, free: 358.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/2.221, allocations: 0.7645 MB / 1.223 GB, free: 357.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/2.222, allocations: 60 kB / 1.223 GB, free: 357.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/2.224, allocations: 379.2 kB / 1.224 GB, free: 357.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/2.224, allocations: 230.2 kB / 1.224 GB, free: 357.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/2.224, allocations: 99.94 kB / 1.224 GB, free: 357.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001308/2.226, allocations: 0.9994 MB / 1.225 GB, free: 356 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.5e-07/2.226, allocations: 0 / 1.225 GB, free: 356 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.008515/2.234, allocations: 2.846 MB / 1.228 GB, free: 353.3 MB / 0.8419 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.007219/2.242, allocations: 2.028 MB / 1.23 GB, free: 351.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01116/2.253, allocations: 6.827 MB / 1.237 GB, free: 344.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/2.253, allocations: 0 / 1.237 GB, free: 344.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004417/2.257, allocations: 3.468 MB / 1.24 GB, free: 341.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004311/2.262, allocations: 0.8747 MB / 1.241 GB, free: 340.3 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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.01538/2.277, allocations: 12.54 MB / 1.253 GB, free: 327.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/2.279, allocations: 2.668 MB / 1.256 GB, free: 325 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003592/2.282, allocations: 2.18 MB / 1.258 GB, free: 322.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/2.283, allocations: 231.3 kB / 1.258 GB, free: 322.7 MB / 0.8419 GB Notification: Performance of SimCode: time 1.142e-06/2.283, allocations: 0 / 1.258 GB, free: 322.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.1202/2.403, allocations: 99.4 MB / 1.355 GB, free: 223.8 MB / 0.8419 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleEngine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleEngine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleEngine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches