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.006619/0.00662, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.001476/0.001476, allocations: 193.6 kB / 16.67 MB, free: 5.961 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9821/0.9821, allocations: 93.68 MB / 384.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 79.86 kB / 0.5199 GB, free: 1.082 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5477, allocations: 68.25 MB / 0.5866 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.8848/1.433, allocations: 245.1 MB / 0.8259 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.08371/1.516, allocations: 55.2 MB / 0.8798 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0086/1.525, allocations: 83.56 kB / 0.8799 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01275/1.538, allocations: 3.13 MB / 0.883 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.03117/1.569, allocations: 7.3 MB / 0.8901 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02869/1.598, allocations: 6.464 MB / 0.8964 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01501/1.613, allocations: 6.632 MB / 0.9029 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003904/1.617, allocations: 2.029 MB / 0.9049 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01963/1.636, allocations: 7.553 MB / 0.9123 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006637/1.643, allocations: 2.802 MB / 0.915 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002219/1.645, allocations: 0.5391 MB / 0.9155 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03525/1.681, allocations: 10.7 MB / 0.926 GB, free: 6.613 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003133/1.684, allocations: 1.145 MB / 0.9271 GB, free: 5.465 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.007542/1.691, allocations: 2.649 MB / 0.9297 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.04503/1.736, allocations: 12.51 MB / 0.9419 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.736, allocations: 3.938 kB / 0.9419 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/1.736, allocations: 0 / 0.9419 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003465/1.737, allocations: 3.984 kB / 0.9419 GB, free: 6.25 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.02403/1.761, allocations: 6.366 MB / 0.9481 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/1.761, allocations: 12.03 kB / 0.9481 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001038/1.762, allocations: 0.5319 MB / 0.9486 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/1.767, allocations: 0.9691 MB / 0.9496 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005655/1.773, allocations: 2.293 MB / 0.9518 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/1.773, allocations: 308.1 kB / 0.9521 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009542/1.774, allocations: 439.8 kB / 0.9525 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/1.787, allocations: 5.088 MB / 0.9575 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.13e-05/1.787, allocations: 7.938 kB / 0.9575 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/1.788, allocations: 167.9 kB / 0.9577 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/1.788, allocations: 147.4 kB / 0.9578 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/1.799, allocations: 4.401 MB / 0.9621 GB, free: 1.227 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.04048/1.839, allocations: 27.57 MB / 0.989 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00811/1.848, allocations: 3.649 MB / 0.9926 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/1.85, allocations: 1.456 MB / 0.994 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8095/2.66, allocations: 199.6 MB / 1.189 GB, free: 173.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.182e-05/2.66, allocations: 68.36 kB / 1.189 GB, free: 173.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=255): time 4.438e-06/2.66, allocations: 0 / 1.189 GB, free: 173.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=267): time 0.02813/2.688, allocations: 12.1 MB / 1.201 GB, free: 161.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/2.688, allocations: 111.2 kB / 1.201 GB, free: 161.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/2.691, allocations: 1.552 MB / 1.203 GB, free: 160.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003118/2.691, allocations: 73.7 kB / 1.203 GB, free: 160.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009516/2.692, allocations: 1.614 MB / 1.204 GB, free: 158.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009158/2.693, allocations: 0.9575 MB / 1.205 GB, free: 157.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008493/2.694, allocations: 0.5092 MB / 1.206 GB, free: 157.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 6.421e-05/2.694, allocations: 301.1 kB / 1.206 GB, free: 157 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/2.696, allocations: 1.106 MB / 1.207 GB, free: 155.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/2.698, allocations: 1.547 MB / 1.208 GB, free: 154.2 MB / 0.7794 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.004031/2.702, allocations: 2.891 MB / 1.211 GB, free: 151.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/2.702, allocations: 4 kB / 1.211 GB, free: 151.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.006794/2.708, allocations: 3.801 MB / 1.215 GB, free: 147.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/2.708, allocations: 15.98 kB / 1.215 GB, free: 147.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/2.708, allocations: 15.19 kB / 1.215 GB, free: 147.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/2.711, allocations: 0.8529 MB / 1.216 GB, free: 146.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/2.714, allocations: 0.5188 MB / 1.216 GB, free: 145.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/2.727, allocations: 10.77 MB / 1.227 GB, free: 134.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/2.73, allocations: 99.94 kB / 1.227 GB, free: 134.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/2.73, allocations: 127.9 kB / 1.227 GB, free: 134.4 MB / 0.7794 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.003175/2.733, allocations: 1.689 MB / 1.229 GB, free: 132.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001962/2.735, allocations: 1.535 MB / 1.23 GB, free: 131 MB / 0.7794 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.003935/2.739, allocations: 2.877 MB / 1.233 GB, free: 127.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.305e-06/2.739, allocations: 8.094 kB / 1.233 GB, free: 127.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=335) (initialization_lambda0): time 0.006737/2.746, allocations: 3.763 MB / 1.237 GB, free: 124.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/2.746, allocations: 15.94 kB / 1.237 GB, free: 124 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/2.746, allocations: 8 kB / 1.237 GB, free: 124 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/2.749, allocations: 0.8562 MB / 1.238 GB, free: 123.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/2.751, allocations: 0.5227 MB / 1.238 GB, free: 122.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/2.764, allocations: 10.77 MB / 1.249 GB, free: 111.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/2.767, allocations: 100.1 kB / 1.249 GB, free: 111.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/2.767, allocations: 127.9 kB / 1.249 GB, free: 111.2 MB / 0.7794 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.0007752/2.768, allocations: 363.8 kB / 1.249 GB, free: 110.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/2.768, allocations: 250.3 kB / 1.249 GB, free: 110.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/2.781, allocations: 9.848 MB / 1.259 GB, free: 100.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.203e-05/2.781, allocations: 119.8 kB / 1.259 GB, free: 100.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/2.781, allocations: 8 kB / 1.259 GB, free: 100.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/2.781, allocations: 15.94 kB / 1.259 GB, free: 100.6 MB / 0.7794 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.01765/2.798, allocations: 15.22 MB / 1.274 GB, free: 85.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/2.798, allocations: 4 kB / 1.274 GB, free: 85.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/2.8, allocations: 427.4 kB / 1.274 GB, free: 84.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003559/2.804, allocations: 1.855 MB / 1.276 GB, free: 83.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003317/2.804, allocations: 91.88 kB / 1.276 GB, free: 82.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/2.815, allocations: 11.48 MB / 1.288 GB, free: 70.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.815, allocations: 4.062 kB / 1.288 GB, free: 70.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/2.828, allocations: 9.597 MB / 1.297 GB, free: 61.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/2.829, allocations: 0.7837 MB / 1.298 GB, free: 60.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004185/2.83, allocations: 63.94 kB / 1.298 GB, free: 60.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/2.831, allocations: 111.9 kB / 1.298 GB, free: 60.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/2.832, allocations: 226.2 kB / 1.298 GB, free: 60.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/2.832, allocations: 99.94 kB / 1.298 GB, free: 60 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001215/2.833, allocations: 1.003 MB / 1.299 GB, free: 58.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/2.833, allocations: 4 kB / 1.299 GB, free: 58.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008616/2.842, allocations: 2.837 MB / 1.302 GB, free: 56.13 MB / 0.7794 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.01799/2.86, allocations: 11.55 MB / 1.313 GB, free: 44.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01192/2.872, allocations: 6.824 MB / 1.32 GB, free: 37.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/2.872, allocations: 4 kB / 1.32 GB, free: 37.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004704/2.876, allocations: 3.481 MB / 1.323 GB, free: 34.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004459/2.881, allocations: 0.9411 MB / 1.324 GB, free: 33.31 MB / 0.7794 GB [/var/lib/jenkins1/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.04582/2.927, allocations: 27.06 MB / 1.351 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/2.929, allocations: 2.668 MB / 1.353 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003428/2.932, allocations: 2.184 MB / 1.355 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3686/3.301, allocations: 1.981 MB / 1.357 GB, free: 314.4 MB / 0.7794 GB Notification: Performance of SimCode: time 1.263e-06/3.301, allocations: 0.9688 kB / 1.357 GB, free: 314.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2553/3.556, allocations: 139.1 MB / 1.493 GB, free: 203.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.67/26.23, allocations: 8.062 kB / 1.493 GB, free: 203.2 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Examples_SimpleEngine_fmu --startTime=0 --stopTime=25 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleEngine.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_dev_ThermofluidStream.Examples.SimpleEngine_res.mat does not exist to compare? outputFormat=mat