Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.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.FlowControl.Tests.MCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_MCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.MCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_MCV",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.001188/0.001188, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.06 kB / 285.6 MB, free: 13 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.01213/0.01213, allocations: 1.565 MB / 338.1 MB, free: 8.488 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6216/0.6216, allocations: 90.05 MB / 479.4 MB, free: 2.973 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.422e-05/7.424e-05, allocations: 4 kB / 0.5446 GB, free: 7.895 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1838, allocations: 69.37 MB / 0.6123 GB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.494, allocations: 442.5 MB / 1.044 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.494, allocations: 83.94 kB / 1.045 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.726/4.22, allocations: 0.6315 GB / 1.676 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.888e-06/4.22, allocations: 0 / 1.676 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003848/4.221, allocations: 108.9 kB / 1.676 GB, free: 48.17 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 847 * Number of variables: 847 Notification: Performance of Generate backend data structure: time 0.0165/4.237, allocations: 4.222 MB / 1.68 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/4.237, allocations: 22.67 kB / 1.68 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00153/4.239, allocations: 441.1 kB / 1.681 GB, free: 46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/4.24, allocations: 444.3 kB / 1.681 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/4.244, allocations: 1.662 MB / 1.683 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/4.244, allocations: 252.7 kB / 1.683 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/4.245, allocations: 337 kB / 1.683 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006228/4.251, allocations: 3.767 MB / 1.687 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-05/4.251, allocations: 12.27 kB / 1.687 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/4.251, allocations: 133.9 kB / 1.687 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.341e-05/4.251, allocations: 96.03 kB / 1.687 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00532/4.257, allocations: 3.572 MB / 1.691 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/4.282, allocations: 18.03 MB / 1.708 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008689/4.29, allocations: 4.433 MB / 1.713 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003488/4.294, allocations: 2.011 MB / 1.715 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/4.314, allocations: 9.37 MB / 1.724 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006745/4.321, allocations: 2.334 MB / 1.726 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=479): time 2.581e-05/4.321, allocations: 3.172 kB / 1.726 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of matching and sorting (n=479): time 0.01004/4.331, allocations: 4.241 MB / 1.73 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/4.331, allocations: 345.7 kB / 1.73 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/4.334, allocations: 1.436 MB / 1.732 GB, free: 3.504 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000545/4.334, allocations: 109.7 kB / 1.732 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/4.336, allocations: 1.138 MB / 1.733 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/4.337, allocations: 1.578 MB / 1.735 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/4.337, allocations: 84 kB / 1.735 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002414/4.338, allocations: 475.3 kB / 1.735 GB, free: 84 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/4.341, allocations: 1.438 MB / 1.737 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003507/4.344, allocations: 1.976 MB / 1.738 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/4.348, allocations: 1.817 MB / 1.74 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-05/4.348, allocations: 4 kB / 1.74 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=555) (initialization): time 0.01102/4.359, allocations: 4.813 MB / 1.745 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/4.359, allocations: 178.2 kB / 1.745 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/4.359, allocations: 12 kB / 1.745 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/4.36, allocations: 380.9 kB / 1.746 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/4.364, allocations: 0.9073 MB / 1.746 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/4.377, allocations: 13.94 MB / 1.76 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00557/4.383, allocations: 464 kB / 1.76 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/4.385, allocations: 183.9 kB / 1.761 GB, free: 4.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition6,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count,$whenCondition4,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,$whenCondition3,$PRE.pulse3.T_start,pulse3.T_start,$PRE.pulse3.count,pulse3.count,$whenCondition5,$PRE.pulse5.T_start,pulse5.T_start,$PRE.pulse5.count,pulse5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (503): * Single equations (assignments): 467 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002667/4.387, allocations: 355.7 kB / 1.761 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002531/4.39, allocations: 355.8 kB / 1.761 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5827/4.973, allocations: 5.699 MB / 1.767 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000147/4.973, allocations: 63.77 kB / 1.767 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.043e-05/4.973, allocations: 9 kB / 1.767 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001519/4.973, allocations: 27.72 kB / 1.767 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02651/5, allocations: 10.03 MB / 1.777 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/5, allocations: 6.156 kB / 1.777 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003958/5.004, allocations: 0.9056 MB / 1.778 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/5.005, allocations: 387.8 kB / 1.778 GB, free: 74.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004451/5.006, allocations: 157.3 kB / 1.778 GB, free: 74.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00889/5.014, allocations: 13.93 MB / 1.792 GB, free: 61.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/5.015, allocations: 9.156 kB / 1.792 GB, free: 61.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/5.032, allocations: 8.092 MB / 1.8 GB, free: 59.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/5.034, allocations: 470.5 kB / 1.8 GB, free: 59.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007892/5.035, allocations: 99.06 kB / 1.8 GB, free: 59.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/5.038, allocations: 246.9 kB / 1.8 GB, free: 59.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/5.039, allocations: 430 kB / 1.801 GB, free: 59.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005063/5.039, allocations: 182.2 kB / 1.801 GB, free: 59.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002134/5.041, allocations: 1.079 MB / 1.802 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/5.041, allocations: 0 / 1.802 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01202/5.054, allocations: 1.689 MB / 1.804 GB, free: 59.31 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 20 (mCV1.rear.m_flow,mCV1.dp_int,mCV2.rear.m_flow,mCV2.dp_int,mCV3.rear.m_flow,mCV3.dp_int,mCV4.rear.m_flow,mCV4.dp_int,mCV.rear.m_flow,mCV.dp_int,mCV5.rear.m_flow,mCV5.dp_int,boundaryRear9.fore.m_flow,mCV9.dp_int,mCV8.rear.m_flow,mCV8.dp_int,boundaryFore4.rear.m_flow,mCV7.dp_int,mCV6.rear.m_flow,mCV6.dp_int) * Number of discrete variables: 18 ($whenCondition1,pulse1.T_start,pulse1.count,$whenCondition2,trapezoid.T_start,trapezoid.count,$whenCondition3,pulse3.T_start,pulse3.count,$whenCondition4,trapezoid1.T_start,trapezoid1.count,$whenCondition5,pulse5.T_start,pulse5.count,$whenCondition6,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 6 (trapezoid2.count,pulse5.count,trapezoid1.count,pulse3.count,trapezoid.count,pulse1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (497): * Single equations (assignments): 455 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.02048/5.074, allocations: 11.97 MB / 1.815 GB, free: 55.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01186/5.086, allocations: 5.579 MB / 1.821 GB, free: 53.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/5.086, allocations: 2.25 kB / 1.821 GB, free: 53.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007987/5.094, allocations: 3.702 MB / 1.825 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00863/5.103, allocations: 0.958 MB / 1.825 GB, free: 52.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/5.128, allocations: 7.034 MB / 1.832 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/5.131, allocations: 2.06 MB / 1.834 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005367/5.137, allocations: 0.7658 MB / 1.835 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003638/5.14, allocations: 1.625 MB / 1.837 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/5.14, allocations: 0 / 1.837 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/5.346, allocations: 111.3 MB / 1.945 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/5.347, allocations: 179 kB / 1.946 GB, free: 27.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/12.99, allocations: 0 / 1.946 GB, free: 27.56 MB / 0.6355 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_MCV_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_MCV.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV_res.mat does not exist to compare? outputFormat=mat