Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.0009955/0.0009956, allocations: 100.3 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.0009243/0.0009243, 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.504/1.504, 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.7059/0.7059, allocations: 89.63 MB / 380.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 14.19 kB / 460 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 68.83 MB / 0.5165 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.05982/0.2011, allocations: 53.99 MB / 0.5692 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3335/0.5346, allocations: 8.595 MB / 0.5776 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.5368, allocations: 32.47 kB / 0.5776 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.5391, allocations: 0.6228 MB / 0.5782 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.5494, allocations: 2.843 MB / 0.581 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00946/0.5589, allocations: 2.926 MB / 0.5839 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00483/0.5637, allocations: 1.928 MB / 0.5857 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007801/0.5645, allocations: 430.8 kB / 0.5862 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.5771, allocations: 7.144 MB / 0.5931 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.5792, allocations: 0.7662 MB / 0.5939 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.5796, allocations: 66.59 kB / 0.5939 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008614/0.5882, allocations: 3.159 MB / 0.597 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004787/0.5887, allocations: 269.2 kB / 0.5973 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.5898, allocations: 357 kB / 0.5976 GB, free: 23.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.594, allocations: 2.017 MB / 0.5996 GB, free: 23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.594, allocations: 3.25 kB / 0.5996 GB, free: 23 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.594, allocations: 0 / 0.5996 GB, free: 23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.819e-05/0.5941, allocations: 0 / 0.5996 GB, free: 23 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004173/0.5982, allocations: 2.078 MB / 0.6016 GB, free: 21.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5983, allocations: 10.56 kB / 0.6016 GB, free: 21.77 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003271/0.5986, allocations: 221.6 kB / 0.6018 GB, free: 21.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.6012, allocations: 385.5 kB / 0.6022 GB, free: 21.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.6027, allocations: 0.7877 MB / 0.603 GB, free: 21.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.6029, allocations: 115.6 kB / 0.6031 GB, free: 21.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/0.6031, allocations: 169.6 kB / 0.6033 GB, free: 21.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.6061, allocations: 1.606 MB / 0.6048 GB, free: 20.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.6061, allocations: 2.906 kB / 0.6048 GB, free: 20.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6062, allocations: 65.94 kB / 0.6049 GB, free: 20.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.6063, allocations: 41.11 kB / 0.6049 GB, free: 20.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.609, allocations: 1.13 MB / 0.606 GB, free: 20.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.6204, allocations: 10.48 MB / 0.6163 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.6227, allocations: 1.04 MB / 0.6173 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002186/0.6249, allocations: 2.673 MB / 0.6199 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.625, allocations: 41.5 kB / 0.6199 GB, free: 8.125 MB / 462.1 MB Notification: Performance of pre-optimization done (n=105): time 3.016e-06/0.625, allocations: 0 / 0.6199 GB, free: 8.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.009834/0.6348, allocations: 4.053 MB / 0.6239 GB, free: 6.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.6349, allocations: 63.84 kB / 0.624 GB, free: 6.367 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.6364, allocations: 1.245 MB / 0.6252 GB, free: 6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.958e-05/0.6365, allocations: 49.06 kB / 0.6252 GB, free: 5.969 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.6369, allocations: 0.7688 MB / 0.626 GB, free: 5.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.6371, allocations: 393.1 kB / 0.6263 GB, free: 5.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.6372, allocations: 25.25 kB / 0.6264 GB, free: 5.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6373, allocations: 358.4 kB / 0.6267 GB, free: 5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/0.6382, allocations: 455.2 kB / 0.6271 GB, free: 4.926 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009721/0.6392, allocations: 0.7108 MB / 0.6278 GB, free: 4.543 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: conductionElement5.deltaE_system = 0.0 ($START.conductionElement5.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: conductionElement3.deltaE_system = 0.0 ($START.conductionElement3.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: conductionElement1.deltaE_system = 0.0 ($START.conductionElement1.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.00124/0.6405, allocations: 0.865 MB / 0.6287 GB, free: 4.102 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6405, allocations: 2.969 kB / 0.6287 GB, free: 4.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002843/0.6433, allocations: 1.615 MB / 0.6303 GB, free: 3.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.6434, allocations: 9.062 kB / 0.6303 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.6434, allocations: 11.27 kB / 0.6303 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/0.644, allocations: 189.9 kB / 0.6305 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.6451, allocations: 342 kB / 0.6308 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/0.6511, allocations: 8.147 MB / 0.6387 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.6527, allocations: 84.7 kB / 0.6388 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.6529, allocations: 67.45 kB / 0.6389 GB, free: 11.8 MB / 478.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (162): * Single equations (assignments): 156 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006284/0.6535, allocations: 317.2 kB / 0.6392 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.6537, allocations: 163.2 kB / 0.6393 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.6573, allocations: 1.704 MB / 0.641 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6574, allocations: 18.61 kB / 0.641 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6574, allocations: 8 kB / 0.641 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.6574, allocations: 7.969 kB / 0.641 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/0.6625, allocations: 2.761 MB / 0.6437 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6625, allocations: 0 / 0.6437 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6636, allocations: 249.4 kB / 0.644 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.6641, allocations: 187.3 kB / 0.6442 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.6642, allocations: 40.97 kB / 0.6442 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/0.6699, allocations: 8.163 MB / 0.6522 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6699, allocations: 0 / 0.6522 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/0.674, allocations: 2.062 MB / 0.6542 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/0.6746, allocations: 231.2 kB / 0.6544 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.6748, allocations: 28.98 kB / 0.6544 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.6755, allocations: 62.41 kB / 0.6545 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.6758, allocations: 112.2 kB / 0.6546 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/0.6759, allocations: 48.78 kB / 0.6546 GB, free: 13.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.677, allocations: 0.8237 MB / 0.6554 GB, free: 12.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.677, allocations: 2.406 kB / 0.6554 GB, free: 12.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001801/0.6788, allocations: 0.5425 MB / 0.656 GB, free: 12.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * 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 (102): * Single equations (assignments): 96 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004903/0.6837, allocations: 3.479 MB / 0.6594 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003294/0.687, allocations: 1.865 MB / 0.6612 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.687, allocations: 320 / 0.6612 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.689, allocations: 1.308 MB / 0.6625 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.6909, allocations: 348 kB / 0.6628 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.7101, allocations: 15.4 MB / 0.6778 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000948/0.7111, allocations: 1.269 MB / 0.6791 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001721/0.7128, allocations: 0.5126 MB / 0.6796 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008006/0.7136, allocations: 0.6739 MB / 0.6802 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.7136, allocations: 0 / 0.6802 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07296/0.7866, allocations: 39.55 MB / 0.7189 GB, free: 15 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/0.7869, allocations: 268.1 kB / 0.7191 GB, free: 14.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/4.057, allocations: 4 kB / 0.7191 GB, free: 14.64 MB / 0.545 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat does not exist to compare? outputFormat=mat