Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.FlowControl.Tests.MCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_MCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.MCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_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.00114/0.00114, allocations: 174.7 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.562/1.562, 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.001145/0.001145, allocations: 86.61 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.01313/0.01313, allocations: 1.561 MB / 338 MB, free: 8.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6688/0.6688, allocations: 90.04 MB / 479.4 MB, free: 2.969 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.793e-05, allocations: 7.984 kB / 0.5446 GB, free: 7.891 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 69.35 MB / 0.6123 GB, free: 2.445 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.574, allocations: 439.5 MB / 1.041 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.575, allocations: 74.52 kB / 1.042 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.936/3.511, allocations: 465.6 MB / 1.496 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/3.511, allocations: 0 / 1.496 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002232/3.511, allocations: 55.98 kB / 1.496 GB, free: 32.19 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: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.008612/3.52, allocations: 2.667 MB / 1.499 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/3.52, allocations: 15.92 kB / 1.499 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007545/3.521, allocations: 223.9 kB / 1.499 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/3.522, allocations: 237.3 kB / 1.499 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/3.524, allocations: 0.9422 MB / 1.5 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/3.525, allocations: 127 kB / 1.5 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004969/3.525, allocations: 167.9 kB / 1.501 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/3.528, allocations: 1.698 MB / 1.502 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/3.529, allocations: 0 / 1.502 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/3.529, allocations: 63.98 kB / 1.502 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/3.529, allocations: 51.89 kB / 1.502 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/3.531, allocations: 1.501 MB / 1.504 GB, free: 24.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/3.541, allocations: 7.568 MB / 1.511 GB, free: 16.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/3.545, allocations: 2.111 MB / 1.513 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/3.547, allocations: 0.918 MB / 1.514 GB, free: 13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009642/3.548, allocations: 0.6761 MB / 1.515 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/3.55, allocations: 1.128 MB / 1.516 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=211): time 1.217e-05/3.55, allocations: 7.938 kB / 1.516 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=211): time 0.004464/3.554, allocations: 2.021 MB / 1.518 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/3.554, allocations: 237.6 kB / 1.518 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/3.556, allocations: 0.8817 MB / 1.519 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/3.556, allocations: 65.7 kB / 1.519 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/3.557, allocations: 0.6714 MB / 1.52 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006003/3.557, allocations: 0.6892 MB / 1.52 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/3.557, allocations: 36 kB / 1.52 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001448/3.558, allocations: 381.9 kB / 1.521 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/3.559, allocations: 0.6639 MB / 1.521 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/3.56, allocations: 0.8798 MB / 1.522 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/3.561, allocations: 0.903 MB / 1.523 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/3.561, allocations: 0 / 1.523 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.004162/3.565, allocations: 2.398 MB / 1.525 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/3.566, allocations: 178.2 kB / 1.526 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/3.566, allocations: 4 kB / 1.526 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008962/3.566, allocations: 266 kB / 1.526 GB, free: 444 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/3.568, allocations: 435.4 kB / 1.526 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5422/4.11, allocations: 9.81 MB / 1.536 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/4.114, allocations: 269.4 kB / 1.536 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/4.114, allocations: 83.59 kB / 1.536 GB, free: 58.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition5,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition3,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$whenCondition1,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count,$whenCondition6,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,$whenCondition4,$PRE.pulse3.T_start,pulse3.T_start,$PRE.pulse3.count,pulse3.count,$whenCondition2,$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 (219): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006114/4.115, allocations: 216.9 kB / 1.536 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/4.115, allocations: 181.8 kB / 1.537 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008378/4.124, allocations: 2.569 MB / 1.539 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.13e-05/4.124, allocations: 25.91 kB / 1.539 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.343e-05/4.124, allocations: 7.203 kB / 1.539 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.545e-05/4.124, allocations: 13.52 kB / 1.539 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/4.136, allocations: 4.885 MB / 1.544 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/4.137, allocations: 3.406 kB / 1.544 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/4.139, allocations: 444 kB / 1.544 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009672/4.14, allocations: 276.6 kB / 1.545 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/4.14, allocations: 70.19 kB / 1.545 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007023/4.147, allocations: 9.835 MB / 1.554 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/4.147, allocations: 3.125 kB / 1.554 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007717/4.155, allocations: 4.005 MB / 1.558 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/4.155, allocations: 282.5 kB / 1.558 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/4.156, allocations: 52.34 kB / 1.559 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/4.158, allocations: 173.3 kB / 1.559 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/4.159, allocations: 231.1 kB / 1.559 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/4.159, allocations: 86.77 kB / 1.559 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001057/4.16, allocations: 0.6771 MB / 1.56 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/4.16, allocations: 0 / 1.56 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004102/4.164, allocations: 0.9844 MB / 1.561 GB, free: 46.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (sink6.inlet.m_flow,mCV6.dp_int,mCV5.inlet.m_flow,mCV5.dp_int,mCV.inlet.m_flow,mCV.dp_int,mCV4.inlet.m_flow,mCV4.dp_int,mCV3.inlet.m_flow,mCV3.dp_int,mCV2.inlet.m_flow,mCV2.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 18 ($whenCondition1,trapezoid2.T_start,trapezoid2.count,$whenCondition2,pulse5.T_start,pulse5.count,$whenCondition3,trapezoid1.T_start,trapezoid1.count,$whenCondition4,pulse3.T_start,pulse3.count,$whenCondition5,trapezoid.T_start,trapezoid.count,$whenCondition6,pulse1.T_start,pulse1.count) * Number of discrete states: 6 (pulse1.count,trapezoid.count,pulse3.count,trapezoid1.count,pulse5.count,trapezoid2.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(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 Backend phase and start with SimCode phase: time 0.01122/4.175, allocations: 6.863 MB / 1.567 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005589/4.181, allocations: 3.204 MB / 1.57 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/4.181, allocations: 1.125 kB / 1.57 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003701/4.185, allocations: 2.252 MB / 1.573 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/4.188, allocations: 0.5142 MB / 1.573 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/4.201, allocations: 3.884 MB / 1.577 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/4.203, allocations: 1.429 MB / 1.578 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001957/4.205, allocations: 290.5 kB / 1.579 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/4.206, allocations: 0.8014 MB / 1.579 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of SimCode: time 3.046e-06/4.206, allocations: 3.094 kB / 1.579 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/4.338, allocations: 65.43 MB / 1.643 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/4.338, allocations: 167.2 kB / 1.643 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.173/9.512, allocations: 4 kB / 1.643 GB, free: 36.07 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_MCV_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_MCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.MCV_res.mat does not exist to compare? outputFormat=mat