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.008355/0.008355, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001871/0.001871, allocations: 192 kB / 16.67 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7874/0.7874, allocations: 91.18 MB / 381.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 71.89 kB / 0.5168 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.368, allocations: 67.68 MB / 0.5829 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.6738/1.042, allocations: 245.1 MB / 0.8223 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.06345/1.105, allocations: 55.18 MB / 0.8762 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007141/1.113, allocations: 87.5 kB / 0.8763 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/1.124, allocations: 3.127 MB / 0.8793 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02899/1.153, allocations: 7.302 MB / 0.8864 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.02286/1.176, allocations: 6.473 MB / 0.8928 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01296/1.189, allocations: 6.638 MB / 0.8992 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005013/1.194, allocations: 2.022 MB / 0.9012 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02151/1.216, allocations: 7.557 MB / 0.9086 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006622/1.222, allocations: 2.814 MB / 0.9113 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002696/1.225, allocations: 0.5391 MB / 0.9119 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03032/1.255, allocations: 10.69 MB / 0.9223 GB, free: 12.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002812/1.258, allocations: 1.153 MB / 0.9234 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00669/1.265, allocations: 2.637 MB / 0.926 GB, free: 8.617 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03346/1.299, allocations: 12.52 MB / 0.9382 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.299, allocations: 0 / 0.9382 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/1.299, allocations: 0 / 0.9382 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002764/1.299, allocations: 0 / 0.9382 GB, free: 12.06 MB / 0.6856 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.02012/1.319, allocations: 6.366 MB / 0.9445 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.319, allocations: 8.031 kB / 0.9445 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/1.324, allocations: 0.9652 MB / 0.9454 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/1.329, allocations: 2.293 MB / 0.9476 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/1.329, allocations: 316.1 kB / 0.9479 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008156/1.33, allocations: 427.8 kB / 0.9484 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/1.342, allocations: 5.088 MB / 0.9533 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.358e-05/1.342, allocations: 7.938 kB / 0.9533 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/1.342, allocations: 175.9 kB / 0.9535 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/1.342, allocations: 147.4 kB / 0.9536 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/1.353, allocations: 4.393 MB / 0.9579 GB, free: 7.59 MB / 0.7012 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.03346/1.386, allocations: 27.58 MB / 0.9849 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007601/1.394, allocations: 3.648 MB / 0.9884 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/1.396, allocations: 1.456 MB / 0.9898 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7472/2.144, allocations: 199.7 MB / 1.185 GB, free: 152.1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.463e-05/2.144, allocations: 56.58 kB / 1.185 GB, free: 152 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=255): time 4.929e-06/2.144, allocations: 2.906 kB / 1.185 GB, free: 152 MB / 0.7637 GB Notification: Performance of matching and sorting (n=267): time 0.02976/2.174, allocations: 12.1 MB / 1.197 GB, free: 140.1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/2.174, allocations: 107.2 kB / 1.197 GB, free: 139.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/2.176, allocations: 1.554 MB / 1.198 GB, free: 138.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002919/2.176, allocations: 73.7 kB / 1.198 GB, free: 138.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000781/2.177, allocations: 1.608 MB / 1.2 GB, free: 136.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006532/2.177, allocations: 0.9596 MB / 1.201 GB, free: 136 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007655/2.178, allocations: 0.5092 MB / 1.201 GB, free: 135.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/2.178, allocations: 301.1 kB / 1.202 GB, free: 135.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/2.18, allocations: 1.106 MB / 1.203 GB, free: 134.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/2.182, allocations: 1.554 MB / 1.204 GB, free: 132.4 MB / 0.7637 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.004243/2.186, allocations: 2.89 MB / 1.207 GB, free: 129.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/2.186, allocations: 0 / 1.207 GB, free: 129.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.007499/2.194, allocations: 3.801 MB / 1.211 GB, free: 125.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/2.194, allocations: 11.98 kB / 1.211 GB, free: 125.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/2.194, allocations: 12.88 kB / 1.211 GB, free: 125.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002886/2.197, allocations: 0.8559 MB / 1.212 GB, free: 124.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/2.199, allocations: 0.5266 MB / 1.212 GB, free: 124 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/2.213, allocations: 10.78 MB / 1.223 GB, free: 112.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/2.216, allocations: 99.94 kB / 1.223 GB, free: 112.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006642/2.216, allocations: 120 kB / 1.223 GB, free: 112.5 MB / 0.7637 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.003605/2.22, allocations: 1.692 MB / 1.225 GB, free: 110.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001963/2.222, allocations: 1.531 MB / 1.226 GB, free: 109.1 MB / 0.7637 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.004054/2.226, allocations: 2.884 MB / 1.229 GB, free: 106 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.754e-06/2.226, allocations: 4 kB / 1.229 GB, free: 106 MB / 0.7637 GB Notification: Performance of matching and sorting (n=335) (initialization_lambda0): time 0.006909/2.233, allocations: 3.771 MB / 1.233 GB, free: 102.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/2.233, allocations: 12.19 kB / 1.233 GB, free: 102.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/2.233, allocations: 12 kB / 1.233 GB, free: 102.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/2.236, allocations: 0.8562 MB / 1.233 GB, free: 101.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/2.238, allocations: 0.5149 MB / 1.234 GB, free: 100.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/2.25, allocations: 10.76 MB / 1.244 GB, free: 89.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/2.252, allocations: 99.94 kB / 1.245 GB, free: 89.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/2.253, allocations: 120 kB / 1.245 GB, free: 89.35 MB / 0.7637 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.0006326/2.253, allocations: 369 kB / 1.245 GB, free: 89 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/2.254, allocations: 252.9 kB / 1.245 GB, free: 88.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/2.265, allocations: 9.842 MB / 1.255 GB, free: 78.92 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.502e-05/2.265, allocations: 123.8 kB / 1.255 GB, free: 78.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/2.265, allocations: 8 kB / 1.255 GB, free: 78.79 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/2.265, allocations: 19.88 kB / 1.255 GB, free: 78.77 MB / 0.7637 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.01696/2.282, allocations: 15.22 MB / 1.27 GB, free: 63.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/2.282, allocations: 0 / 1.27 GB, free: 63.48 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/2.284, allocations: 427.4 kB / 1.27 GB, free: 63.06 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/2.287, allocations: 1.86 MB / 1.272 GB, free: 61.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/2.288, allocations: 83.94 kB / 1.272 GB, free: 61.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/2.298, allocations: 11.48 MB / 1.283 GB, free: 49.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/2.298, allocations: 3.938 kB / 1.283 GB, free: 49.13 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/2.31, allocations: 9.609 MB / 1.293 GB, free: 39.41 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/2.311, allocations: 0.7873 MB / 1.294 GB, free: 38.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/2.312, allocations: 60 kB / 1.294 GB, free: 38.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/2.313, allocations: 111.9 kB / 1.294 GB, free: 38.46 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004367/2.314, allocations: 226.2 kB / 1.294 GB, free: 38.24 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/2.314, allocations: 103.9 kB / 1.294 GB, free: 38.14 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001193/2.315, allocations: 1.003 MB / 1.295 GB, free: 37.11 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/2.315, allocations: 0 / 1.295 GB, free: 37.11 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007873/2.323, allocations: 2.837 MB / 1.298 GB, free: 34.27 MB / 0.7637 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.006125/2.329, allocations: 2.02 MB / 1.3 GB, free: 32.44 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01051/2.34, allocations: 6.835 MB / 1.306 GB, free: 25.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/2.34, allocations: 3.953 kB / 1.306 GB, free: 25.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004261/2.344, allocations: 3.473 MB / 1.31 GB, free: 21.98 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/2.348, allocations: 0.9478 MB / 1.311 GB, free: 21.06 MB / 0.7637 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10357:11-10357: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.0157/2.364, allocations: 10.2 MB / 1.321 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/2.366, allocations: 2.668 MB / 1.323 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003531/2.37, allocations: 2.177 MB / 1.325 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/2.37, allocations: 231.3 kB / 1.326 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of SimCode: time 1.082e-06/2.37, allocations: 0 / 1.326 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of Templates: time 0.4931/2.863, allocations: 103.1 MB / 1.426 GB, free: 232.5 MB / 0.7637 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