Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",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.001671/0.001671, allocations: 173.9 kB / 7.648 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.485/1.485, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009009/0.0009011, allocations: 86.42 kB / 280.5 MB, free: 5.316 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.01046/0.01045, allocations: 1.567 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.746/0.746, allocations: 90.03 MB / 474 MB, free: 13.01 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 2.102e-05/2.105e-05, allocations: 0 / 0.5376 GB, free: 33.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1629, allocations: 69.37 MB / 0.6053 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.401, allocations: 438.8 MB / 1.034 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.402, allocations: 73.88 kB / 1.034 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.087/2.488, allocations: 355.6 MB / 1.381 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/2.488, allocations: 4 kB / 1.381 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001024/2.488, allocations: 51.92 kB / 1.381 GB, free: 18.04 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004245/2.493, allocations: 2.007 MB / 1.383 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/2.493, allocations: 11.97 kB / 1.383 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/2.493, allocations: 217.6 kB / 1.383 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/2.495, allocations: 0.8803 MB / 1.384 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/2.495, allocations: 48 kB / 1.384 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/2.495, allocations: 95.91 kB / 1.384 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001769/2.497, allocations: 1.314 MB / 1.386 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/2.499, allocations: 1.367 MB / 1.387 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/2.499, allocations: 7.938 kB / 1.387 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/2.499, allocations: 0 / 1.387 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/2.499, allocations: 43.98 kB / 1.387 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00705/2.506, allocations: 7.212 MB / 1.394 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/2.508, allocations: 1.586 MB / 1.396 GB, free: 2.375 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/2.509, allocations: 0.7095 MB / 1.396 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4577/2.966, allocations: 1.437 MB / 1.398 GB, free: 90.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/2.967, allocations: 58.83 kB / 1.398 GB, free: 90.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=177): time 6.001e-06/2.967, allocations: 1.75 kB / 1.398 GB, free: 90.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=177): time 0.00571/2.972, allocations: 1.667 MB / 1.399 GB, free: 90.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/2.972, allocations: 176.1 kB / 1.4 GB, free: 90.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/2.974, allocations: 0.6359 MB / 1.4 GB, free: 89.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/2.974, allocations: 28.02 kB / 1.4 GB, free: 89.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/2.974, allocations: 0.6186 MB / 1.401 GB, free: 89.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/2.975, allocations: 0.5795 MB / 1.401 GB, free: 89.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/2.975, allocations: 0 / 1.401 GB, free: 89.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001398/2.975, allocations: 370 kB / 1.402 GB, free: 89.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/2.976, allocations: 0.4911 MB / 1.402 GB, free: 89.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/2.977, allocations: 0.7887 MB / 1.403 GB, free: 88.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/2.979, allocations: 0.6676 MB / 1.404 GB, free: 88.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/2.979, allocations: 10.64 kB / 1.404 GB, free: 88.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00397/2.983, allocations: 1.796 MB / 1.405 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/2.983, allocations: 8.656 kB / 1.405 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/2.983, allocations: 8.062 kB / 1.405 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/2.984, allocations: 206.6 kB / 1.406 GB, free: 88.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/2.985, allocations: 382.9 kB / 1.406 GB, free: 88.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004926/2.99, allocations: 6.866 MB / 1.413 GB, free: 82.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/2.992, allocations: 142.7 kB / 1.413 GB, free: 82.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/2.992, allocations: 76.89 kB / 1.413 GB, free: 82.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(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.0003667/2.992, allocations: 146 kB / 1.413 GB, free: 82.34 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004559/2.997, allocations: 1.662 MB / 1.415 GB, free: 82.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/2.997, allocations: 146.2 kB / 1.415 GB, free: 82.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/3.003, allocations: 2.02 MB / 1.417 GB, free: 81.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/3.003, allocations: 18.78 kB / 1.417 GB, free: 81.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/3.003, allocations: 5.219 kB / 1.417 GB, free: 81.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.993e-05/3.003, allocations: 14.22 kB / 1.417 GB, free: 81.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008587/3.012, allocations: 3.755 MB / 1.42 GB, free: 81.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/3.012, allocations: 2.094 kB / 1.42 GB, free: 81.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/3.013, allocations: 285.3 kB / 1.421 GB, free: 81.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/3.014, allocations: 427.7 kB / 1.421 GB, free: 81.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/3.014, allocations: 36.89 kB / 1.421 GB, free: 81.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/3.02, allocations: 9.153 MB / 1.43 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.02, allocations: 7.641 kB / 1.43 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/3.025, allocations: 3.107 MB / 1.433 GB, free: 72.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/3.025, allocations: 235.8 kB / 1.433 GB, free: 71.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/3.026, allocations: 7.625 kB / 1.433 GB, free: 71.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/3.027, allocations: 74.22 kB / 1.433 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/3.027, allocations: 134.4 kB / 1.434 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/3.027, allocations: 78.2 kB / 1.434 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006615/3.028, allocations: 489.8 kB / 1.434 GB, free: 71.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/3.028, allocations: 0 / 1.434 GB, free: 71.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002894/3.031, allocations: 0.7939 MB / 1.435 GB, free: 71.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (flowResistance4.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007502/3.038, allocations: 5.361 MB / 1.44 GB, free: 69.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003002/3.041, allocations: 2.064 MB / 1.442 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/3.041, allocations: 0 / 1.442 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/3.043, allocations: 1.524 MB / 1.444 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/3.046, allocations: 424.5 kB / 1.444 GB, free: 68.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005842/3.052, allocations: 3.126 MB / 1.447 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/3.052, allocations: 1.283 MB / 1.448 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001185/3.054, allocations: 287.8 kB / 1.449 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/3.054, allocations: 0.6403 MB / 1.449 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.094e-06/3.054, allocations: 0 / 1.449 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08069/3.135, allocations: 45.63 MB / 1.494 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/3.135, allocations: 132 kB / 1.494 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.831/6.967, allocations: 1.031 kB / 1.494 GB, free: 64.39 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat does not exist to compare? outputFormat=mat