Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleEngine,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleEngine,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleEngine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7321/0.7321, allocations: 93.72 MB / 384.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 94.06 kB / 463.5 MB, free: 21.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.12, allocations: 68.26 MB / 0.5193 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.4625/0.5825, allocations: 245.1 MB / 0.7586 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.06618/0.6487, allocations: 55.2 MB / 0.8125 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.6526, allocations: 83.56 kB / 0.8126 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009276/0.6619, allocations: 3.126 MB / 0.8157 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.6828, allocations: 7.3 MB / 0.8228 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.3123/0.9951, allocations: 6.462 MB / 0.8291 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008407/1.004, allocations: 6.608 MB / 0.8356 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/1.006, allocations: 2.029 MB / 0.8375 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01651/1.023, allocations: 7.551 MB / 0.8449 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/1.029, allocations: 2.811 MB / 0.8477 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001517/1.03, allocations: 0.5401 MB / 0.8482 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02587/1.056, allocations: 10.52 MB / 0.8585 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002017/1.058, allocations: 1.153 MB / 0.8596 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004147/1.062, allocations: 2.646 MB / 0.8622 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02222/1.085, allocations: 12.31 MB / 0.8742 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.085, allocations: 2.281 kB / 0.8742 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.804e-06/1.085, allocations: 4 kB / 0.8742 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.023e-05/1.085, allocations: 0 / 0.8742 GB, free: 7.703 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.0137/1.099, allocations: 6.198 MB / 0.8802 GB, free: 21.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.099, allocations: 9.938 kB / 0.8803 GB, free: 21.42 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005588/1.099, allocations: 0.5388 MB / 0.8808 GB, free: 21.36 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004471/1.104, allocations: 0.9432 MB / 0.8817 GB, free: 21.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/1.107, allocations: 2.182 MB / 0.8838 GB, free: 20.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.107, allocations: 311 kB / 0.8841 GB, free: 20.55 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005969/1.108, allocations: 435.5 kB / 0.8845 GB, free: 20.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008756/1.116, allocations: 5.089 MB / 0.8895 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.226e-05/1.116, allocations: 8.719 kB / 0.8895 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/1.117, allocations: 167.8 kB / 0.8897 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.391e-05/1.117, allocations: 142.9 kB / 0.8898 GB, free: 20.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009277/1.126, allocations: 4.4 MB / 0.8941 GB, free: 20.01 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.03316/1.159, allocations: 27.72 MB / 0.9212 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008112/1.167, allocations: 3.644 MB / 0.9247 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/1.17, allocations: 1.454 MB / 0.9262 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6625/1.833, allocations: 198.8 MB / 1.12 GB, free: 433.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/1.833, allocations: 59.09 kB / 1.12 GB, free: 433.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=255): time 4.038e-06/1.833, allocations: 0 / 1.12 GB, free: 433.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=267): time 0.02964/1.863, allocations: 12.05 MB / 1.132 GB, free: 429.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/1.863, allocations: 104.7 kB / 1.132 GB, free: 429.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.865, allocations: 1.554 MB / 1.134 GB, free: 428.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002895/1.865, allocations: 71.83 kB / 1.134 GB, free: 428.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/1.866, allocations: 1.574 MB / 1.135 GB, free: 427.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006268/1.867, allocations: 0.9099 MB / 1.136 GB, free: 426.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008215/1.867, allocations: 0.5068 MB / 1.137 GB, free: 426.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.736e-05/1.867, allocations: 302.3 kB / 1.137 GB, free: 426.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/1.87, allocations: 1.105 MB / 1.138 GB, free: 425.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/1.872, allocations: 1.549 MB / 1.14 GB, free: 424.7 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.005138/1.877, allocations: 2.896 MB / 1.142 GB, free: 422.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/1.877, allocations: 8.5 kB / 1.142 GB, free: 422.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.007722/1.885, allocations: 3.792 MB / 1.146 GB, free: 421.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.885, allocations: 7.906 kB / 1.146 GB, free: 421.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/1.885, allocations: 11.84 kB / 1.146 GB, free: 421.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/1.888, allocations: 0.8606 MB / 1.147 GB, free: 421 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/1.89, allocations: 0.5202 MB / 1.148 GB, free: 421 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/1.904, allocations: 10.77 MB / 1.158 GB, free: 413 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/1.906, allocations: 104.4 kB / 1.158 GB, free: 413 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/1.907, allocations: 116.9 kB / 1.158 GB, free: 413 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.003313/1.91, allocations: 1.69 MB / 1.16 GB, free: 412.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002201/1.912, allocations: 1.534 MB / 1.161 GB, free: 411.2 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.004272/1.917, allocations: 2.875 MB / 1.164 GB, free: 409.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.958e-06/1.917, allocations: 3.625 kB / 1.164 GB, free: 409.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=335) (initialization_lambda0): time 0.006975/1.924, allocations: 3.766 MB / 1.168 GB, free: 407.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.924, allocations: 14.88 kB / 1.168 GB, free: 407.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.924, allocations: 15.78 kB / 1.168 GB, free: 407.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/1.926, allocations: 0.8675 MB / 1.169 GB, free: 407.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.928, allocations: 0.511 MB / 1.169 GB, free: 407.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.942, allocations: 10.76 MB / 1.18 GB, free: 399.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/1.944, allocations: 105.7 kB / 1.18 GB, free: 399.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/1.945, allocations: 120.3 kB / 1.18 GB, free: 399.5 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.001024/1.946, allocations: 365.9 kB / 1.18 GB, free: 399.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009472/1.947, allocations: 236.2 kB / 1.181 GB, free: 399.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.96, allocations: 9.86 MB / 1.19 GB, free: 389.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.407e-05/1.96, allocations: 123.4 kB / 1.19 GB, free: 389.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/1.96, allocations: 12 kB / 1.19 GB, free: 389.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.143e-05/1.96, allocations: 19.94 kB / 1.19 GB, free: 389.1 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.01943/1.979, allocations: 15.26 MB / 1.205 GB, free: 373.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.98, allocations: 0 / 1.205 GB, free: 373.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/1.981, allocations: 423.4 kB / 1.206 GB, free: 373.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003689/1.985, allocations: 1.857 MB / 1.207 GB, free: 371.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003512/1.986, allocations: 87.94 kB / 1.208 GB, free: 371.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/1.996, allocations: 11.47 MB / 1.219 GB, free: 359.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.996, allocations: 0 / 1.219 GB, free: 359.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/2.01, allocations: 9.591 MB / 1.228 GB, free: 349.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/2.011, allocations: 0.7646 MB / 1.229 GB, free: 348.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006107/2.012, allocations: 56 kB / 1.229 GB, free: 348.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/2.014, allocations: 119.9 kB / 1.229 GB, free: 348.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004401/2.014, allocations: 226.2 kB / 1.229 GB, free: 348.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/2.014, allocations: 99.94 kB / 1.229 GB, free: 348.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001379/2.016, allocations: 0.9955 MB / 1.23 GB, free: 347.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/2.016, allocations: 0 / 1.23 GB, free: 347.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00779/2.024, allocations: 2.836 MB / 1.233 GB, free: 344.7 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.01842/2.042, allocations: 11.51 MB / 1.244 GB, free: 333.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0239/2.066, allocations: 7.37 MB / 1.252 GB, free: 325.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/2.066, allocations: 7.75 kB / 1.252 GB, free: 325.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004616/2.071, allocations: 3.478 MB / 1.255 GB, free: 322.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004958/2.076, allocations: 0.9382 MB / 1.256 GB, free: 321.5 MB / 0.8419 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354: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.04667/2.122, allocations: 29.81 MB / 1.285 GB, free: 290 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/2.125, allocations: 2.664 MB / 1.288 GB, free: 287.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003651/2.129, allocations: 2.188 MB / 1.29 GB, free: 285.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/2.131, allocations: 1.983 MB / 1.292 GB, free: 283.1 MB / 0.8419 GB Notification: Performance of SimCode: time 8.51e-07/2.131, allocations: 0 / 1.292 GB, free: 283.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1818/2.313, allocations: 137.6 MB / 1.426 GB, free: 146 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/19.82, allocations: 12 kB / 1.426 GB, free: 146 MB / 0.8419 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine_res.csv --start-time 0 --stop-time 25 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.025 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleEngine.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine.pipe 2>&1)