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.01065/0.01065, allocations: 170 kB / 15.11 MB, free: 5.973 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.825/1.825, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001071/0.001071, allocations: 94.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8767/0.8767, allocations: 90.59 MB / 408.4 MB, free: 14.97 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 0.0003508/0.0003508, allocations: 8 kB / 485.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4394, allocations: 66.28 MB / 0.5387 GB, free: 45.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8231/1.263, allocations: 439.4 MB / 0.9677 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.263, allocations: 81.14 kB / 0.9678 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.479/2.742, allocations: 351.7 MB / 1.311 GB, free: 101 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.657e-06/2.742, allocations: 2.656 kB / 1.311 GB, free: 101 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001359/2.742, allocations: 53.19 kB / 1.311 GB, free: 101 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.006458/2.748, allocations: 2.18 MB / 1.313 GB, free: 100 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/2.748, allocations: 7.688 kB / 1.313 GB, free: 100 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005242/2.749, allocations: 211.8 kB / 1.314 GB, free: 99.95 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007852/2.75, allocations: 217.8 kB / 1.314 GB, free: 99.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/2.752, allocations: 0.8867 MB / 1.315 GB, free: 99.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/2.752, allocations: 113.9 kB / 1.315 GB, free: 99.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/2.752, allocations: 150.8 kB / 1.315 GB, free: 99.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/2.755, allocations: 1.615 MB / 1.317 GB, free: 99.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/2.755, allocations: 0 / 1.317 GB, free: 99.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/2.755, allocations: 67.83 kB / 1.317 GB, free: 99.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/2.755, allocations: 36.94 kB / 1.317 GB, free: 99.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/2.757, allocations: 1.512 MB / 1.318 GB, free: 99.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009434/2.767, allocations: 7.15 MB / 1.325 GB, free: 95.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/2.77, allocations: 1.741 MB / 1.327 GB, free: 95.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005487/2.775, allocations: 4.32 MB / 1.331 GB, free: 92.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/2.775, allocations: 61.12 kB / 1.331 GB, free: 92.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 3.858e-06/2.775, allocations: 0 / 1.331 GB, free: 92.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.007612/2.783, allocations: 3.684 MB / 1.335 GB, free: 90.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/2.783, allocations: 183.8 kB / 1.335 GB, free: 90.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/2.784, allocations: 0.7404 MB / 1.336 GB, free: 90.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/2.785, allocations: 57.52 kB / 1.336 GB, free: 89.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/2.785, allocations: 0.6111 MB / 1.336 GB, free: 89.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/2.785, allocations: 0.6047 MB / 1.337 GB, free: 89.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/2.785, allocations: 36.31 kB / 1.337 GB, free: 89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001037/2.786, allocations: 369.3 kB / 1.337 GB, free: 88.67 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009806/2.787, allocations: 0.5741 MB / 1.338 GB, free: 88.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/2.788, allocations: 0.8715 MB / 1.339 GB, free: 87.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/2.789, allocations: 0.6898 MB / 1.339 GB, free: 87.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/2.789, allocations: 3.906 kB / 1.339 GB, free: 87.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003677/2.793, allocations: 1.98 MB / 1.341 GB, free: 86.83 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/2.793, allocations: 7.594 kB / 1.341 GB, free: 86.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/2.793, allocations: 9.844 kB / 1.341 GB, free: 86.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007074/2.793, allocations: 211.2 kB / 1.341 GB, free: 86.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/2.795, allocations: 383.1 kB / 1.342 GB, free: 86.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/2.799, allocations: 7.174 MB / 1.349 GB, free: 79.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/2.801, allocations: 186 kB / 1.349 GB, free: 79.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/2.802, allocations: 78.03 kB / 1.349 GB, free: 79.73 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 () * Number of clocked 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.0008918/2.803, allocations: 313.2 kB / 1.349 GB, free: 79.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/2.803, allocations: 159.7 kB / 1.35 GB, free: 79.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/2.808, allocations: 2.264 MB / 1.352 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/2.808, allocations: 19.75 kB / 1.352 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/2.808, allocations: 5.156 kB / 1.352 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/2.808, allocations: 14.92 kB / 1.352 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/2.815, allocations: 4.084 MB / 1.356 GB, free: 76.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/2.815, allocations: 7.812 kB / 1.356 GB, free: 76.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/2.816, allocations: 281.4 kB / 1.356 GB, free: 76.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/2.818, allocations: 457.7 kB / 1.356 GB, free: 76.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/2.818, allocations: 60.97 kB / 1.357 GB, free: 76.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006064/2.824, allocations: 9.458 MB / 1.366 GB, free: 67.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.825, allocations: 10.91 kB / 1.366 GB, free: 67.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/2.831, allocations: 3.322 MB / 1.369 GB, free: 65.33 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008572/2.832, allocations: 243.7 kB / 1.369 GB, free: 65.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/2.832, allocations: 34.12 kB / 1.369 GB, free: 65.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/2.833, allocations: 101.2 kB / 1.369 GB, free: 65.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/2.834, allocations: 146.3 kB / 1.37 GB, free: 65.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/2.834, allocations: 72.88 kB / 1.37 GB, free: 65.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007218/2.834, allocations: 0.5728 MB / 1.37 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/2.834, allocations: 0 / 1.37 GB, free: 64.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002926/2.837, allocations: 0.843 MB / 1.371 GB, free: 64.53 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 () * Number of clocked 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.006899/2.844, allocations: 5.571 MB / 1.376 GB, free: 61.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003534/2.848, allocations: 2.292 MB / 1.379 GB, free: 60.01 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/2.848, allocations: 0 / 1.379 GB, free: 60.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/2.85, allocations: 1.66 MB / 1.38 GB, free: 58.87 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/2.853, allocations: 461.3 kB / 1.381 GB, free: 58.65 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/2.869, allocations: 15.53 MB / 1.396 GB, free: 43.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008814/2.869, allocations: 1.292 MB / 1.397 GB, free: 41.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001703/2.871, allocations: 281.9 kB / 1.397 GB, free: 41.53 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008173/2.872, allocations: 0.6437 MB / 1.398 GB, free: 40.88 MB / 0.5886 GB Notification: Performance of SimCode: time 1.823e-06/2.872, allocations: 0 / 1.398 GB, free: 40.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/3.295, allocations: 52.16 MB / 1.449 GB, free: 92.96 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/3.295, allocations: 224.5 kB / 1.449 GB, free: 92.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.537/7.832, allocations: 3.391 kB / 1.449 GB, free: 92.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