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.001071/0.001071, 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 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.001039/0.001039, allocations: 79.22 kB / 261.4 MB, free: 13.45 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.8649/0.8649, allocations: 90.36 MB / 399.7 MB, free: 12.12 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 1.725e-05/1.728e-05, allocations: 0 / 472.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4404, allocations: 66.25 MB / 0.5259 GB, free: 28.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.687, allocations: 438.6 MB / 0.9543 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.687, allocations: 76.44 kB / 0.9544 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.134/2.822, allocations: 348.6 MB / 1.295 GB, free: 89.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.605e-06/2.822, allocations: 0 / 1.295 GB, free: 89.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002139/2.822, allocations: 52.69 kB / 1.295 GB, free: 89.23 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.005932/2.828, allocations: 2.017 MB / 1.297 GB, free: 87.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/2.828, allocations: 8.031 kB / 1.297 GB, free: 87.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/2.829, allocations: 213.7 kB / 1.297 GB, free: 86.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/2.831, allocations: 0.8764 MB / 1.298 GB, free: 86.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/2.831, allocations: 57.11 kB / 1.298 GB, free: 86.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/2.831, allocations: 91.91 kB / 1.298 GB, free: 85.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001955/2.833, allocations: 1.318 MB / 1.299 GB, free: 84.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/2.835, allocations: 1.363 MB / 1.301 GB, free: 83.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/2.835, allocations: 0 / 1.301 GB, free: 83.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/2.836, allocations: 7.984 kB / 1.301 GB, free: 83.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/2.836, allocations: 36 kB / 1.301 GB, free: 83.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007631/2.843, allocations: 7.219 MB / 1.308 GB, free: 75.33 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/2.845, allocations: 1.589 MB / 1.309 GB, free: 73.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/2.846, allocations: 0.712 MB / 1.31 GB, free: 72.97 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008948/2.847, allocations: 1.44 MB / 1.311 GB, free: 71.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/2.847, allocations: 63.56 kB / 1.311 GB, free: 71.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 4.268e-06/2.847, allocations: 0 / 1.311 GB, free: 71.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.003723/2.851, allocations: 1.668 MB / 1.313 GB, free: 69.47 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/2.851, allocations: 175.1 kB / 1.313 GB, free: 69.26 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/2.852, allocations: 0.6423 MB / 1.314 GB, free: 68.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/2.852, allocations: 25.7 kB / 1.314 GB, free: 68.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/2.852, allocations: 0.6174 MB / 1.314 GB, free: 67.94 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/2.852, allocations: 0.585 MB / 1.315 GB, free: 67.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/2.852, allocations: 0 / 1.315 GB, free: 67.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/2.853, allocations: 369.9 kB / 1.315 GB, free: 66.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/2.853, allocations: 0.4913 MB / 1.316 GB, free: 66.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/2.854, allocations: 0.7859 MB / 1.317 GB, free: 65.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/2.856, allocations: 0.6693 MB / 1.317 GB, free: 64.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/2.856, allocations: 4 kB / 1.317 GB, free: 64.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003468/2.859, allocations: 1.799 MB / 1.319 GB, free: 63.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/2.859, allocations: 8 kB / 1.319 GB, free: 63.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/2.859, allocations: 8 kB / 1.319 GB, free: 63.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/2.86, allocations: 208.1 kB / 1.319 GB, free: 62.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/2.861, allocations: 387.4 kB / 1.32 GB, free: 62.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/2.865, allocations: 6.848 MB / 1.326 GB, free: 55.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/2.867, allocations: 138.5 kB / 1.326 GB, free: 54.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/2.867, allocations: 75.97 kB / 1.327 GB, free: 54.86 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.000404/2.867, allocations: 140.5 kB / 1.327 GB, free: 54.71 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003836/2.871, allocations: 1.681 MB / 1.328 GB, free: 53 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/2.871, allocations: 150.3 kB / 1.328 GB, free: 52.85 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/2.876, allocations: 2.022 MB / 1.33 GB, free: 50.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/2.876, allocations: 23.95 kB / 1.33 GB, free: 50.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/2.876, allocations: 4 kB / 1.33 GB, free: 50.76 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/2.876, allocations: 11.97 kB / 1.33 GB, free: 50.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006233/2.882, allocations: 3.751 MB / 1.334 GB, free: 46.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/2.882, allocations: 7.281 kB / 1.334 GB, free: 46.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/2.883, allocations: 287.7 kB / 1.334 GB, free: 46.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/2.884, allocations: 419.3 kB / 1.335 GB, free: 46.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/2.885, allocations: 43.95 kB / 1.335 GB, free: 46.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004957/2.889, allocations: 9.16 MB / 1.344 GB, free: 36.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/2.89, allocations: 4.031 kB / 1.344 GB, free: 36.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/2.895, allocations: 3.099 MB / 1.347 GB, free: 33.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/2.895, allocations: 230.9 kB / 1.347 GB, free: 32.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/2.895, allocations: 16 kB / 1.347 GB, free: 32.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/2.896, allocations: 67.78 kB / 1.347 GB, free: 32.81 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/2.897, allocations: 140.7 kB / 1.347 GB, free: 32.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/2.897, allocations: 75.94 kB / 1.347 GB, free: 32.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005826/2.897, allocations: 490.1 kB / 1.348 GB, free: 32.11 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.41e-07/2.897, allocations: 0 / 1.348 GB, free: 32.11 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002703/2.9, allocations: 0.7917 MB / 1.349 GB, free: 31.32 MB / 0.5886 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.006889/2.907, allocations: 5.355 MB / 1.354 GB, free: 25.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003066/2.91, allocations: 2.051 MB / 1.356 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/2.91, allocations: 0 / 1.356 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/2.912, allocations: 1.529 MB / 1.357 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/2.916, allocations: 433.4 kB / 1.358 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/2.924, allocations: 3.121 MB / 1.361 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/2.924, allocations: 1.281 MB / 1.362 GB, free: 17.25 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001341/2.926, allocations: 283.1 kB / 1.362 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007853/2.926, allocations: 0.6437 MB / 1.363 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of SimCode: time 2.495e-06/2.927, allocations: 0 / 1.363 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4885/3.415, allocations: 45.65 MB / 1.408 GB, free: 95.54 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/3.415, allocations: 148 kB / 1.408 GB, free: 95.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.596/7.011, allocations: 1.594 kB / 1.408 GB, free: 95.34 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