Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, 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 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 88.44 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8807/0.8807, allocations: 90.35 MB / 405 MB, free: 8.621 MB / 298.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.577e-05/4.579e-05, allocations: 0 / 479.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4528, allocations: 66.26 MB / 0.5327 GB, free: 28.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.731, allocations: 439.3 MB / 0.9617 GB, free: 204.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.732, allocations: 79.95 kB / 0.9618 GB, free: 204.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.138/2.87, allocations: 350.4 MB / 1.304 GB, free: 87.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.175e-06/2.87, allocations: 0 / 1.304 GB, free: 87.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002012/2.87, allocations: 47.92 kB / 1.304 GB, free: 87.58 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.006494/2.877, allocations: 2.018 MB / 1.306 GB, free: 85.51 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/2.877, allocations: 12.03 kB / 1.306 GB, free: 85.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007517/2.878, allocations: 207.1 kB / 1.306 GB, free: 85.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/2.879, allocations: 209.7 kB / 1.306 GB, free: 85.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/2.881, allocations: 0.8738 MB / 1.307 GB, free: 84.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/2.881, allocations: 110.8 kB / 1.307 GB, free: 84.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/2.882, allocations: 159.9 kB / 1.308 GB, free: 83.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/2.885, allocations: 1.562 MB / 1.309 GB, free: 82.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/2.885, allocations: 3.953 kB / 1.309 GB, free: 82.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/2.885, allocations: 60 kB / 1.309 GB, free: 82.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/2.885, allocations: 36 kB / 1.309 GB, free: 82.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/2.887, allocations: 1.403 MB / 1.31 GB, free: 80.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008211/2.895, allocations: 7.159 MB / 1.317 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/2.898, allocations: 1.694 MB / 1.319 GB, free: 71.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/2.899, allocations: 0.778 MB / 1.32 GB, free: 70.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004685/2.904, allocations: 4.353 MB / 1.324 GB, free: 65.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/2.904, allocations: 69.17 kB / 1.324 GB, free: 65.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 4.388e-06/2.904, allocations: 0 / 1.324 GB, free: 65.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.003437/2.907, allocations: 1.782 MB / 1.326 GB, free: 63.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/2.907, allocations: 175 kB / 1.326 GB, free: 63.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/2.908, allocations: 0.7238 MB / 1.327 GB, free: 62.87 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/2.908, allocations: 61.64 kB / 1.327 GB, free: 62.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/2.909, allocations: 0.6216 MB / 1.328 GB, free: 62.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/2.909, allocations: 0.6045 MB / 1.328 GB, free: 61.56 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/2.909, allocations: 32 kB / 1.328 GB, free: 61.53 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001037/2.909, allocations: 369.9 kB / 1.328 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/2.91, allocations: 0.5273 MB / 1.329 GB, free: 60.63 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/2.911, allocations: 0.8249 MB / 1.33 GB, free: 59.69 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/2.912, allocations: 0.635 MB / 1.33 GB, free: 59.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/2.912, allocations: 4 kB / 1.33 GB, free: 59.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002826/2.915, allocations: 1.881 MB / 1.332 GB, free: 57.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/2.915, allocations: 8 kB / 1.332 GB, free: 57.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/2.915, allocations: 12.84 kB / 1.332 GB, free: 57.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/2.915, allocations: 212 kB / 1.332 GB, free: 56.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/2.916, allocations: 391.4 kB / 1.333 GB, free: 56.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/2.921, allocations: 7.089 MB / 1.34 GB, free: 48.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/2.922, allocations: 190.1 kB / 1.34 GB, free: 48.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/2.922, allocations: 75.97 kB / 1.34 GB, free: 48.52 MB / 0.5886 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.000341/2.923, allocations: 208.3 kB / 1.34 GB, free: 48.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/2.923, allocations: 150.2 kB / 1.34 GB, free: 48.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/2.927, allocations: 2.18 MB / 1.342 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/2.927, allocations: 20 kB / 1.343 GB, free: 45.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/2.927, allocations: 4 kB / 1.343 GB, free: 45.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/2.927, allocations: 11.95 kB / 1.343 GB, free: 45.92 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/2.933, allocations: 3.993 MB / 1.346 GB, free: 41.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/2.933, allocations: 0 / 1.346 GB, free: 41.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/2.934, allocations: 283.6 kB / 1.347 GB, free: 41.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/2.935, allocations: 459.2 kB / 1.347 GB, free: 41.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/2.936, allocations: 59.95 kB / 1.347 GB, free: 41.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005256/2.941, allocations: 9.376 MB / 1.356 GB, free: 30.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.941, allocations: 12 kB / 1.356 GB, free: 30.86 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/2.946, allocations: 3.17 MB / 1.359 GB, free: 27.58 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/2.946, allocations: 242.8 kB / 1.36 GB, free: 27.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/2.947, allocations: 36 kB / 1.36 GB, free: 27.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/2.948, allocations: 99.78 kB / 1.36 GB, free: 27.19 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/2.948, allocations: 144.7 kB / 1.36 GB, free: 27.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/2.948, allocations: 71.94 kB / 1.36 GB, free: 26.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006969/2.949, allocations: 0.5589 MB / 1.361 GB, free: 26.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/2.949, allocations: 4 kB / 1.361 GB, free: 26.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002952/2.952, allocations: 0.8387 MB / 1.361 GB, free: 25.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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.006508/2.958, allocations: 5.443 MB / 1.367 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003453/2.962, allocations: 2.184 MB / 1.369 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/2.962, allocations: 3.938 kB / 1.369 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/2.964, allocations: 1.601 MB / 1.37 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/2.967, allocations: 460.5 kB / 1.371 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008193/2.975, allocations: 3.289 MB / 1.374 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008028/2.976, allocations: 1.281 MB / 1.375 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001494/2.978, allocations: 287.5 kB / 1.376 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/2.978, allocations: 0.6437 MB / 1.376 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of SimCode: time 1.904e-06/2.978, allocations: 0 / 1.376 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5054/3.484, allocations: 53.47 MB / 1.428 GB, free: 88.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/3.484, allocations: 188.2 kB / 1.429 GB, free: 88.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.367/7.851, allocations: 0 / 1.429 GB, free: 88.71 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat does not exist to compare? outputFormat=mat