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.001309/0.001309, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001653/0.001653, allocations: 177.3 kB / 15.94 MB, free: 228 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.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7652/0.7652, allocations: 89.64 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.0005637, allocations: 7.812 kB / 460 MB, free: 24.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1873, allocations: 68.85 MB / 0.5165 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.0565/0.2439, allocations: 49.9 MB / 0.5652 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.375/0.6189, allocations: 9.981 MB / 0.5749 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.6212, allocations: 19.88 kB / 0.575 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.6242, allocations: 0.5623 MB / 0.5755 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.6345, allocations: 2.519 MB / 0.578 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.6383, allocations: 1.145 MB / 0.5791 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.6416, allocations: 1.327 MB / 0.5804 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.6425, allocations: 407.2 kB / 0.5808 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008723/0.6512, allocations: 3.405 MB / 0.5841 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.6527, allocations: 0.6304 MB / 0.5847 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.6529, allocations: 57.03 kB / 0.5848 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009806/0.6627, allocations: 4.189 MB / 0.5889 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.6632, allocations: 231.2 kB / 0.5891 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.6645, allocations: 278 kB / 0.5893 GB, free: 23.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.6689, allocations: 1.752 MB / 0.5911 GB, free: 23.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.669, allocations: 0 / 0.5911 GB, free: 23.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.669, allocations: 0 / 0.5911 GB, free: 23.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.7e-05/0.669, allocations: 0 / 0.5911 GB, free: 23.5 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.004601/0.6736, allocations: 1.756 MB / 0.5928 GB, free: 22.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.6737, allocations: 8.531 kB / 0.5928 GB, free: 22.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003049/0.674, allocations: 168.8 kB / 0.5929 GB, free: 22.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.6763, allocations: 283.7 kB / 0.5932 GB, free: 22.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.6778, allocations: 0.6656 MB / 0.5939 GB, free: 22.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.6779, allocations: 87.31 kB / 0.5939 GB, free: 22.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.6782, allocations: 121.9 kB / 0.5941 GB, free: 22.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.6815, allocations: 1.298 MB / 0.5953 GB, free: 22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.6815, allocations: 3.625 kB / 0.5953 GB, free: 22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6817, allocations: 51.8 kB / 0.5954 GB, free: 22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.613e-05/0.6818, allocations: 48.81 kB / 0.5954 GB, free: 22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.6845, allocations: 1.085 MB / 0.5965 GB, free: 21.98 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.6952, allocations: 5.504 MB / 0.6019 GB, free: 19.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.6977, allocations: 1.086 MB / 0.6029 GB, free: 18.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.6996, allocations: 2.416 MB / 0.6053 GB, free: 16.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.6997, allocations: 49.06 kB / 0.6053 GB, free: 16.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 4.258e-06/0.6997, allocations: 1.031 kB / 0.6053 GB, free: 16.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.008872/0.7086, allocations: 3.747 MB / 0.609 GB, free: 14.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.7087, allocations: 63.19 kB / 0.609 GB, free: 14.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.7098, allocations: 0.7546 MB / 0.6098 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/0.7099, allocations: 39.89 kB / 0.6098 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.7102, allocations: 0.5225 MB / 0.6103 GB, free: 13.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.7105, allocations: 367.9 kB / 0.6107 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.7106, allocations: 18.94 kB / 0.6107 GB, free: 13.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7107, allocations: 350.9 kB / 0.611 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007312/0.7114, allocations: 417.2 kB / 0.6114 GB, free: 13.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008641/0.7123, allocations: 0.5525 MB / 0.612 GB, free: 13.1 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.001138/0.7135, allocations: 0.7302 MB / 0.6127 GB, free: 12.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.7135, allocations: 3.219 kB / 0.6127 GB, free: 12.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002693/0.7162, allocations: 1.419 MB / 0.6141 GB, free: 12.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.7162, allocations: 6 kB / 0.6141 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.7162, allocations: 3.719 kB / 0.6141 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.717, allocations: 250.6 kB / 0.6143 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/0.718, allocations: 237 kB / 0.6146 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/0.7235, allocations: 5.378 MB / 0.6198 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.7247, allocations: 56.36 kB / 0.6199 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.7248, allocations: 51.84 kB / 0.6199 GB, free: 8.168 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 {(4,87.5%) 14,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006512/0.7254, allocations: 283.5 kB / 0.6202 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.7256, allocations: 114.2 kB / 0.6203 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.7287, allocations: 1.559 MB / 0.6218 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.7287, allocations: 13.98 kB / 0.6218 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.7288, allocations: 10.3 kB / 0.6218 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.7288, allocations: 7.969 kB / 0.6218 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.7343, allocations: 3.775 MB / 0.6255 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.7343, allocations: 3.125 kB / 0.6255 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008353/0.7351, allocations: 202.5 kB / 0.6257 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006841/0.7358, allocations: 265.5 kB / 0.626 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.7359, allocations: 44.86 kB / 0.626 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00542/0.7414, allocations: 5.385 MB / 0.6313 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7414, allocations: 2.969 kB / 0.6313 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.7456, allocations: 2.125 MB / 0.6334 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.7461, allocations: 180.1 kB / 0.6335 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.7462, allocations: 27.03 kB / 0.6336 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.7469, allocations: 68.73 kB / 0.6336 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.7472, allocations: 101.5 kB / 0.6337 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.894e-05/0.7473, allocations: 44.84 kB / 0.6338 GB, free: 72 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007945/0.7481, allocations: 0.5115 MB / 0.6343 GB, free: 15.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7481, allocations: 3.938 kB / 0.6343 GB, free: 15.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00231/0.7504, allocations: 0.5098 MB / 0.6348 GB, free: 15.85 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.inlet.m_flow,conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,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 {(1,100.0%) 3,(1,100.0%) 2,(4,87.5%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005531/0.756, allocations: 3.892 MB / 0.6386 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.759, allocations: 1.525 MB / 0.64 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.759, allocations: 0 / 0.64 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.7607, allocations: 1.038 MB / 0.6411 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.7625, allocations: 317.1 kB / 0.6414 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.777, allocations: 9.821 MB / 0.651 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009374/0.778, allocations: 1.155 MB / 0.6521 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001253/0.7792, allocations: 320 kB / 0.6524 GB, free: 312 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/0.78, allocations: 479 kB / 0.6528 GB, free: 184 kB / 478.1 MB Notification: Performance of SimCode: time 2.234e-06/0.78, allocations: 0 / 0.6528 GB, free: 184 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06192/0.8419, allocations: 33.2 MB / 0.6853 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.8422, allocations: 256.1 kB / 0.6855 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.729, allocations: 0 / 0.6855 GB, free: 15.17 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