Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.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 dev (/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.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",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.0008355/0.0008354, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0008271/0.000827, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7539/0.7539, allocations: 89.66 MB / 380.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 9.688 kB / 460.1 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 68.84 MB / 0.5166 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.4313/0.5739, allocations: 71.16 MB / 0.5861 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.587, allocations: 9.425 MB / 0.5953 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.5886, allocations: 21.78 kB / 0.5953 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.5903, allocations: 0.5534 MB / 0.5958 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007517/0.5979, allocations: 2.48 MB / 0.5983 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.6014, allocations: 1.133 MB / 0.5994 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.6047, allocations: 2.138 MB / 0.6014 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007803/0.6055, allocations: 411.2 kB / 0.6018 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00777/0.6133, allocations: 3.705 MB / 0.6055 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.6153, allocations: 0.7271 MB / 0.6062 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.6156, allocations: 58.03 kB / 0.6062 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009827/0.6254, allocations: 4.214 MB / 0.6103 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005211/0.626, allocations: 234.3 kB / 0.6106 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.6271, allocations: 278.9 kB / 0.6108 GB, free: 22.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004624/0.6318, allocations: 1.775 MB / 0.6126 GB, free: 22.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6318, allocations: 0 / 0.6126 GB, free: 22.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6318, allocations: 3.938 kB / 0.6126 GB, free: 22.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.6318, allocations: 0 / 0.6126 GB, free: 22.3 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003695/0.6355, allocations: 1.75 MB / 0.6143 GB, free: 21.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6356, allocations: 10.03 kB / 0.6143 GB, free: 21.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.6358, allocations: 175 kB / 0.6144 GB, free: 21.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.6377, allocations: 285.9 kB / 0.6147 GB, free: 20.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.6386, allocations: 0.6609 MB / 0.6154 GB, free: 20.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.6387, allocations: 85.59 kB / 0.6154 GB, free: 20.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.6389, allocations: 136.2 kB / 0.6156 GB, free: 20.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.6414, allocations: 1.294 MB / 0.6168 GB, free: 20.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.6415, allocations: 0 / 0.6168 GB, free: 20.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.6416, allocations: 46.78 kB / 0.6169 GB, free: 20.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/0.6416, allocations: 53.34 kB / 0.6169 GB, free: 20.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.6438, allocations: 1.083 MB / 0.618 GB, free: 19.95 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.6514, allocations: 5.501 MB / 0.6234 GB, free: 16.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.654, allocations: 1.09 MB / 0.6244 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.655, allocations: 0.5546 MB / 0.625 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.657, allocations: 2.412 MB / 0.6273 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.6571, allocations: 44.59 kB / 0.6274 GB, free: 13.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.838e-06/0.6571, allocations: 0 / 0.6274 GB, free: 13.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.007407/0.6645, allocations: 3.712 MB / 0.631 GB, free: 11.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.6646, allocations: 73.78 kB / 0.6311 GB, free: 11.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/0.6655, allocations: 0.7517 MB / 0.6318 GB, free: 11.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.6656, allocations: 44.95 kB / 0.6318 GB, free: 11.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.6659, allocations: 0.5147 MB / 0.6323 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.6661, allocations: 363.8 kB / 0.6327 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.6662, allocations: 22.88 kB / 0.6327 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6663, allocations: 349.4 kB / 0.6331 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007084/0.667, allocations: 409.9 kB / 0.6334 GB, free: 10.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/0.6678, allocations: 0.5556 MB / 0.634 GB, free: 9.797 MB / 462.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = 0.0 ($START.conductionElement4.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = 0.0 ($START.conductionElement2.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.6688, allocations: 0.7213 MB / 0.6347 GB, free: 9.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6688, allocations: 0 / 0.6347 GB, free: 9.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002361/0.6712, allocations: 1.413 MB / 0.6361 GB, free: 8.523 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6712, allocations: 5.906 kB / 0.6361 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.6712, allocations: 2.969 kB / 0.6361 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.6719, allocations: 242.7 kB / 0.6363 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.6728, allocations: 235.4 kB / 0.6365 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.6775, allocations: 5.284 MB / 0.6417 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008219/0.6784, allocations: 56.55 kB / 0.6417 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.6785, allocations: 47.98 kB / 0.6418 GB, free: 3.312 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: conductionElement4.deltaE_system = 0.0 conductionElement2.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 15,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005549/0.6791, allocations: 292.1 kB / 0.6421 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.6792, allocations: 110.7 kB / 0.6422 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/0.6822, allocations: 1.551 MB / 0.6437 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6823, allocations: 12 kB / 0.6437 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6823, allocations: 7.953 kB / 0.6437 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.6823, allocations: 7.984 kB / 0.6437 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.6881, allocations: 3.812 MB / 0.6474 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.6882, allocations: 4 kB / 0.6474 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.689, allocations: 200.1 kB / 0.6476 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006953/0.6897, allocations: 259.3 kB / 0.6479 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6898, allocations: 35.97 kB / 0.6479 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005186/0.695, allocations: 5.303 MB / 0.6531 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6951, allocations: 0 / 0.6531 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/0.6987, allocations: 1.987 MB / 0.655 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.6992, allocations: 187.7 kB / 0.6552 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.6994, allocations: 27.98 kB / 0.6552 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/0.7002, allocations: 67.81 kB / 0.6553 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.7005, allocations: 96.81 kB / 0.6554 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.7006, allocations: 51.95 kB / 0.6554 GB, free: 4.527 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008546/0.7014, allocations: 0.5129 MB / 0.6559 GB, free: 4.023 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7015, allocations: 0 / 0.6559 GB, free: 4.023 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002132/0.7036, allocations: 0.5037 MB / 0.6564 GB, free: 3.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 14,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00527/0.7089, allocations: 3.014 MB / 0.6594 GB, free: 488 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002948/0.7118, allocations: 1.501 MB / 0.6608 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7119, allocations: 0 / 0.6608 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.7137, allocations: 1.032 MB / 0.6619 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.7158, allocations: 331.6 kB / 0.6622 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.7293, allocations: 7.711 MB / 0.6697 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008704/0.7302, allocations: 1.133 MB / 0.6708 GB, free: 4.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001183/0.7315, allocations: 315.8 kB / 0.6711 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/0.7323, allocations: 491.2 kB / 0.6716 GB, free: 3.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7323, allocations: 0 / 0.6716 GB, free: 3.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.7931, allocations: 33.78 MB / 0.7046 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.7935, allocations: 253.5 kB / 0.7048 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/3.849, allocations: 3.938 kB / 0.7048 GB, free: 1.844 MB / 0.5137 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat does not exist to compare? outputFormat=mat