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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008488, allocations: 92.05 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.008083/0.008083, allocations: 1.565 MB / 332.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7229/0.7229, allocations: 90.04 MB / 474 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.869e-05, allocations: 0 / 0.5376 GB, free: 33.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1483, allocations: 69.37 MB / 0.6053 GB, free: 48 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6876/0.836, allocations: 275.9 MB / 0.8747 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.8362, allocations: 84.55 kB / 0.8748 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.295/3.131, allocations: 0.6111 GB / 1.486 GB, free: 84.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.322e-06/3.131, allocations: 0 / 1.486 GB, free: 84.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001126/3.131, allocations: 53.7 kB / 1.486 GB, free: 84.3 MB / 0.5886 GB 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.007528/3.139, allocations: 2.871 MB / 1.489 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/3.139, allocations: 10.28 kB / 1.489 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/3.142, allocations: 379.1 kB / 1.489 GB, free: 82.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/3.143, allocations: 0.8996 MB / 1.49 GB, free: 82.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/3.143, allocations: 50.75 kB / 1.49 GB, free: 82.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/3.144, allocations: 97.97 kB / 1.49 GB, free: 82.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001488/3.145, allocations: 0.9003 MB / 1.491 GB, free: 82.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/3.147, allocations: 1.268 MB / 1.492 GB, free: 82.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/3.147, allocations: 7.844 kB / 1.492 GB, free: 82.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/3.147, allocations: 0 / 1.492 GB, free: 82.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/3.147, allocations: 49.41 kB / 1.492 GB, free: 82.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006439/3.153, allocations: 7.306 MB / 1.5 GB, free: 77.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/3.155, allocations: 1.058 MB / 1.501 GB, free: 76.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/3.155, allocations: 441 kB / 1.501 GB, free: 76.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/3.157, allocations: 2.658 MB / 1.504 GB, free: 72.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/3.157, allocations: 45.31 kB / 1.504 GB, free: 72.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 3.186e-06/3.157, allocations: 0 / 1.504 GB, free: 72.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01344/3.17, allocations: 4.839 MB / 1.508 GB, free: 68.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/3.17, allocations: 64.72 kB / 1.508 GB, free: 67.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/3.171, allocations: 0.6774 MB / 1.509 GB, free: 67.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-05/3.171, allocations: 25.7 kB / 1.509 GB, free: 67.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/3.172, allocations: 0.7291 MB / 1.51 GB, free: 66.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/3.172, allocations: 0.4887 MB / 1.51 GB, free: 65.99 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/3.172, allocations: 0 / 1.51 GB, free: 65.99 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/3.172, allocations: 373.9 kB / 1.511 GB, free: 65.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/3.173, allocations: 412 kB / 1.511 GB, free: 65.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/3.173, allocations: 0.6809 MB / 1.512 GB, free: 64.44 MB / 0.5886 GB 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.003355/3.177, allocations: 1.331 MB / 1.513 GB, free: 63.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/3.177, allocations: 4 kB / 1.513 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004657/3.181, allocations: 1.99 MB / 1.515 GB, free: 61.05 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/3.181, allocations: 8 kB / 1.515 GB, free: 61.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/3.181, allocations: 10.75 kB / 1.515 GB, free: 61.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/3.182, allocations: 188.1 kB / 1.515 GB, free: 60.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/3.183, allocations: 338.3 kB / 1.515 GB, free: 60.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/3.187, allocations: 7.787 MB / 1.523 GB, free: 52.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009995/3.188, allocations: 64.69 kB / 1.523 GB, free: 52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/3.188, allocations: 79.53 kB / 1.523 GB, free: 51.93 MB / 0.5886 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0002559/3.188, allocations: 143.1 kB / 1.523 GB, free: 51.78 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004316/3.192, allocations: 1.722 MB / 1.525 GB, free: 50.04 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/3.193, allocations: 146.2 kB / 1.525 GB, free: 49.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/3.198, allocations: 2.321 MB / 1.527 GB, free: 47.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003994/3.202, allocations: 1.628 MB / 1.529 GB, free: 45.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/3.202, allocations: 4 kB / 1.529 GB, free: 45.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/3.202, allocations: 10.66 kB / 1.529 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/3.209, allocations: 3.449 MB / 1.532 GB, free: 42.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/3.209, allocations: 7.938 kB / 1.532 GB, free: 42.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/3.21, allocations: 269.2 kB / 1.533 GB, free: 42.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/3.211, allocations: 189.3 kB / 1.533 GB, free: 42 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/3.211, allocations: 39.95 kB / 1.533 GB, free: 41.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003872/3.215, allocations: 7.779 MB / 1.54 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/3.215, allocations: 4.031 kB / 1.54 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/3.22, allocations: 2.648 MB / 1.543 GB, free: 30.78 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/3.221, allocations: 203 kB / 1.543 GB, free: 30.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/3.221, allocations: 15.98 kB / 1.543 GB, free: 30.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/3.222, allocations: 50.69 kB / 1.543 GB, free: 30.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/3.222, allocations: 139.8 kB / 1.543 GB, free: 30.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/3.222, allocations: 67.95 kB / 1.544 GB, free: 30.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006355/3.223, allocations: 0.5002 MB / 1.544 GB, free: 29.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/3.223, allocations: 3.688 kB / 1.544 GB, free: 29.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002905/3.226, allocations: 0.7047 MB / 1.545 GB, free: 29.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.006762/3.233, allocations: 4.46 MB / 1.549 GB, free: 24.65 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002452/3.235, allocations: 2.235 MB / 1.551 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/3.235, allocations: 0 / 1.551 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/3.236, allocations: 1.684 MB / 1.553 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/3.238, allocations: 267.5 kB / 1.553 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/3.243, allocations: 3.356 MB / 1.556 GB, free: 16.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/3.244, allocations: 1.331 MB / 1.558 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00125/3.245, allocations: 0.576 MB / 1.558 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/3.246, allocations: 0.7023 MB / 1.559 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/3.246, allocations: 0 / 1.559 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06675/3.312, allocations: 39.99 MB / 1.598 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/3.313, allocations: 191.4 kB / 1.598 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/6.729, allocations: 0 / 1.598 GB, free: 6.781 MB / 0.6198 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