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/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.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 182 kB / 15.98 MB, free: 5.766 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.386/1.386, allocations: 205.1 MB / 221.8 MB, free: 8.477 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.001182/0.001182, allocations: 101.2 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.7298/0.7298, allocations: 91.21 MB / 407.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009953/0.0009953, allocations: 51.92 kB / 483.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2983, allocations: 64.98 MB / 0.5357 GB, free: 33.72 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5532/0.8515, allocations: 245.7 MB / 0.7756 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0686/0.9202, allocations: 55.38 MB / 0.8297 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006282/0.9265, allocations: 47.88 kB / 0.8297 GB, free: 13 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.9388, allocations: 2.849 MB / 0.8325 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.02399/0.9629, allocations: 6.162 MB / 0.8385 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01867/0.9816, allocations: 5.439 MB / 0.8438 GB, free: 14.51 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.9928, allocations: 7.449 MB / 0.8511 GB, free: 7.031 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/0.9962, allocations: 1.858 MB / 0.8529 GB, free: 5.109 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01733/1.014, allocations: 7.138 MB / 0.8599 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00648/1.02, allocations: 2.619 MB / 0.8624 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001847/1.022, allocations: 328 kB / 0.8628 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0255/1.048, allocations: 10.33 MB / 0.8728 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.00233/1.05, allocations: 0.9145 MB / 0.8737 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.005516/1.055, allocations: 2.326 MB / 0.876 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.03122/1.087, allocations: 11.83 MB / 0.8876 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.087, allocations: 0 / 0.8876 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/1.087, allocations: 0 / 0.8876 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002021/1.087, allocations: 0 / 0.8876 GB, free: 1.48 MB / 0.6042 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.01752/1.104, allocations: 5.894 MB / 0.8933 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.105, allocations: 8.031 kB / 0.8933 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005764/1.11, allocations: 0.9051 MB / 0.8942 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/1.115, allocations: 1.829 MB / 0.896 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/1.115, allocations: 316.1 kB / 0.8963 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009304/1.116, allocations: 423.8 kB / 0.8967 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/1.129, allocations: 5.088 MB / 0.9017 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-05/1.129, allocations: 11.84 kB / 0.9017 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004012/1.129, allocations: 168 kB / 0.9018 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/1.129, allocations: 155.3 kB / 0.902 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/1.14, allocations: 4.393 MB / 0.9063 GB, free: 14.01 MB / 0.6355 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.3221/1.462, allocations: 27.4 MB / 0.933 GB, free: 273.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009187/1.472, allocations: 3.633 MB / 0.9366 GB, free: 273.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/1.475, allocations: 1.457 MB / 0.938 GB, free: 273.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2878/1.763, allocations: 166.6 MB / 1.101 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.302e-05/1.763, allocations: 56.58 kB / 1.101 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=255): time 3.938e-06/1.763, allocations: 0 / 1.101 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=267): time 0.02859/1.792, allocations: 11.97 MB / 1.112 GB, free: 95.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.792, allocations: 107.2 kB / 1.113 GB, free: 95.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/1.793, allocations: 1.214 MB / 1.114 GB, free: 93.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002482/1.793, allocations: 69.7 kB / 1.114 GB, free: 93.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/1.794, allocations: 1.436 MB / 1.115 GB, free: 92.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005207/1.795, allocations: 0.9088 MB / 1.116 GB, free: 91.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006912/1.795, allocations: 0.5092 MB / 1.117 GB, free: 91.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/1.795, allocations: 309.1 kB / 1.117 GB, free: 90.71 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/1.797, allocations: 1.106 MB / 1.118 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/1.799, allocations: 1.555 MB / 1.119 GB, free: 87.88 MB / 0.6511 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.004115/1.803, allocations: 2.895 MB / 1.122 GB, free: 84.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/1.803, allocations: 8.094 kB / 1.122 GB, free: 84.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.006814/1.81, allocations: 3.751 MB / 1.126 GB, free: 80.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.81, allocations: 15.94 kB / 1.126 GB, free: 80.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.81, allocations: 20.08 kB / 1.126 GB, free: 80.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/1.813, allocations: 0.8485 MB / 1.127 GB, free: 80.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/1.815, allocations: 0.5266 MB / 1.127 GB, free: 79.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.828, allocations: 10.09 MB / 1.137 GB, free: 69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.831, allocations: 363.3 kB / 1.138 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/1.831, allocations: 120 kB / 1.138 GB, free: 68.53 MB / 0.6511 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.00301/1.834, allocations: 1.674 MB / 1.139 GB, free: 66.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001969/1.836, allocations: 1.547 MB / 1.141 GB, free: 65.13 MB / 0.6511 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.004079/1.84, allocations: 2.876 MB / 1.144 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.434e-06/1.84, allocations: 0 / 1.144 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.006934/1.847, allocations: 3.737 MB / 1.147 GB, free: 58.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.847, allocations: 11.98 kB / 1.147 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.847, allocations: 15.94 kB / 1.147 GB, free: 58.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/1.85, allocations: 0.8452 MB / 1.148 GB, free: 57.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.852, allocations: 0.5226 MB / 1.149 GB, free: 56.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/1.864, allocations: 10.09 MB / 1.158 GB, free: 46.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/1.867, allocations: 363.2 kB / 1.159 GB, free: 45.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/1.867, allocations: 123.9 kB / 1.159 GB, free: 45.82 MB / 0.6511 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 (277): * Single equations (assignments): 272 * 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%), (7,46,57.1%), (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.0006511/1.868, allocations: 361.1 kB / 1.159 GB, free: 45.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/1.868, allocations: 201.6 kB / 1.159 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.88, allocations: 9.843 MB / 1.169 GB, free: 35.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/1.88, allocations: 119.8 kB / 1.169 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.88, allocations: 8 kB / 1.169 GB, free: 35.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/1.88, allocations: 15.94 kB / 1.169 GB, free: 35.21 MB / 0.6511 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.01718/1.897, allocations: 15.13 MB / 1.184 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.897, allocations: 0 / 1.184 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/1.899, allocations: 427.4 kB / 1.184 GB, free: 19.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003805/1.902, allocations: 2.234 MB / 1.187 GB, free: 17.26 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/1.903, allocations: 91.88 kB / 1.187 GB, free: 17.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.913, allocations: 10.84 MB / 1.197 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.913, allocations: 3.984 kB / 1.197 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6244/2.537, allocations: 173.5 MB / 1.367 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/2.539, allocations: 0.7338 MB / 1.367 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/2.539, allocations: 60 kB / 1.367 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/2.541, allocations: 379.1 kB / 1.368 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005591/2.542, allocations: 230.2 kB / 1.368 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/2.542, allocations: 107.9 kB / 1.368 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00109/2.543, allocations: 0.7659 MB / 1.369 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/2.543, allocations: 0 / 1.369 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.03011/2.573, allocations: 6.873 MB / 1.376 GB, free: 116.2 MB / 0.6511 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.02377/2.597, allocations: 3.703 MB / 1.379 GB, free: 113 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01298/2.61, allocations: 6.834 MB / 1.386 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/2.61, allocations: 0 / 1.386 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005038/2.615, allocations: 3.472 MB / 1.389 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/2.62, allocations: 0.8177 MB / 1.39 GB, free: 101.8 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.02058/2.641, allocations: 17.88 MB / 1.408 GB, free: 83.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002721/2.643, allocations: 2.911 MB / 1.41 GB, free: 80.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004484/2.648, allocations: 2.318 MB / 1.413 GB, free: 78.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/2.649, allocations: 291.3 kB / 1.413 GB, free: 78.23 MB / 0.6511 GB Notification: Performance of SimCode: time 8.61e-07/2.649, allocations: 0 / 1.413 GB, free: 78.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.8288/3.478, allocations: 245.1 MB / 1.652 GB, free: 228.6 MB / 0.6511 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)