Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve",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.007667/0.007667, allocations: 170.1 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.877/1.877, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009842/0.0009842, allocations: 98.78 kB / 269.6 MB, free: 13.35 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.9035/0.9035, allocations: 90.6 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003655, allocations: 8 kB / 485.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4973, allocations: 66.27 MB / 0.5387 GB, free: 45.27 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8256/1.323, allocations: 354.2 MB / 0.8845 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.323, allocations: 80.66 kB / 0.8846 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.515/2.838, allocations: 341.8 MB / 1.218 GB, free: 86.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.035e-06/2.838, allocations: 0 / 1.218 GB, free: 86.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001265/2.838, allocations: 40.83 kB / 1.218 GB, free: 86.55 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004819/2.843, allocations: 1.944 MB / 1.22 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/2.843, allocations: 9.125 kB / 1.22 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002918/2.843, allocations: 172.8 kB / 1.22 GB, free: 85.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006018/2.844, allocations: 194.1 kB / 1.221 GB, free: 85.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/2.845, allocations: 0.7895 MB / 1.221 GB, free: 85.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/2.845, allocations: 81.06 kB / 1.222 GB, free: 85.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/2.846, allocations: 125.8 kB / 1.222 GB, free: 85.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/2.847, allocations: 1.074 MB / 1.223 GB, free: 85.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/2.848, allocations: 3.156 kB / 1.223 GB, free: 85.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/2.848, allocations: 54.59 kB / 1.223 GB, free: 85.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/2.848, allocations: 32.27 kB / 1.223 GB, free: 85.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/2.85, allocations: 1.157 MB / 1.224 GB, free: 85.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006625/2.856, allocations: 4.891 MB / 1.229 GB, free: 82.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/2.858, allocations: 1.21 MB / 1.23 GB, free: 82.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003746/2.862, allocations: 3.783 MB / 1.234 GB, free: 79.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/2.862, allocations: 46.06 kB / 1.234 GB, free: 79.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 3.006e-06/2.862, allocations: 0 / 1.234 GB, free: 79.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115): time 0.003626/2.865, allocations: 2.146 MB / 1.236 GB, free: 79.13 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/2.865, allocations: 63.66 kB / 1.236 GB, free: 79.07 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveEqualPercentage.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveEqualPercentage.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveEqualPercentage.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveParabolic.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveParabolic.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveLinear.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveLinear.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveLinear.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/2.866, allocations: 0.6929 MB / 1.236 GB, free: 78.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/2.866, allocations: 44.7 kB / 1.236 GB, free: 78.89 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/2.867, allocations: 0.5587 MB / 1.237 GB, free: 78.72 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/2.867, allocations: 391.4 kB / 1.237 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/2.867, allocations: 21.09 kB / 1.237 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001119/2.867, allocations: 345.7 kB / 1.238 GB, free: 78.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/2.868, allocations: 382.8 kB / 1.238 GB, free: 78.21 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/2.869, allocations: 468.4 kB / 1.239 GB, free: 78.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/2.869, allocations: 431.5 kB / 1.239 GB, free: 78.17 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.869, allocations: 3.188 kB / 1.239 GB, free: 78.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002147/2.871, allocations: 1.239 MB / 1.24 GB, free: 78.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/2.871, allocations: 7.781 kB / 1.24 GB, free: 78.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/2.871, allocations: 0 / 1.24 GB, free: 78.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/2.872, allocations: 147.3 kB / 1.24 GB, free: 78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/2.873, allocations: 197.1 kB / 1.241 GB, free: 78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/2.876, allocations: 4.524 MB / 1.245 GB, free: 74.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/2.877, allocations: 101.9 kB / 1.245 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/2.877, allocations: 41.89 kB / 1.245 GB, free: 74.18 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (112): * Single equations (assignments): 106 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007056/2.878, allocations: 253.9 kB / 1.245 GB, free: 74.06 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/2.878, allocations: 119.8 kB / 1.245 GB, free: 74 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/2.881, allocations: 1.466 MB / 1.247 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/2.881, allocations: 11.47 kB / 1.247 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.881, allocations: 6.219 kB / 1.247 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/2.881, allocations: 6.656 kB / 1.247 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/2.885, allocations: 2.728 MB / 1.25 GB, free: 73.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/2.885, allocations: 1.219 kB / 1.25 GB, free: 73.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/2.886, allocations: 182.4 kB / 1.25 GB, free: 73.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/2.887, allocations: 156.9 kB / 1.25 GB, free: 73.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-05/2.887, allocations: 35.89 kB / 1.25 GB, free: 73.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/2.89, allocations: 4.53 MB / 1.254 GB, free: 69.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.89, allocations: 1.281 kB / 1.254 GB, free: 69.61 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/2.894, allocations: 1.94 MB / 1.256 GB, free: 69.28 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008344/2.895, allocations: 323.6 kB / 1.257 GB, free: 69.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/2.895, allocations: 26.23 kB / 1.257 GB, free: 69.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/2.896, allocations: 65.05 kB / 1.257 GB, free: 69.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/2.896, allocations: 88.53 kB / 1.257 GB, free: 69.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-05/2.896, allocations: 37.98 kB / 1.257 GB, free: 69.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000923/2.897, allocations: 0.5361 MB / 1.257 GB, free: 68.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/2.897, allocations: 2.406 kB / 1.257 GB, free: 68.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002357/2.9, allocations: 0.6085 MB / 1.258 GB, free: 68.89 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.inlet.m_flow,valveParabolic.inlet.m_flow,valveEqualPercentage.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 (107): * Single equations (assignments): 101 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005866/2.905, allocations: 3.768 MB / 1.262 GB, free: 67.56 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002592/2.908, allocations: 1.48 MB / 1.263 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/2.908, allocations: 0 / 1.263 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/2.91, allocations: 1.049 MB / 1.264 GB, free: 66.67 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/2.912, allocations: 373.2 kB / 1.264 GB, free: 66.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/2.917, allocations: 4.056 MB / 1.268 GB, free: 64.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/2.918, allocations: 1.171 MB / 1.269 GB, free: 63.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009916/2.919, allocations: 206.5 kB / 1.27 GB, free: 63.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/2.92, allocations: 0.53 MB / 1.27 GB, free: 63.67 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/2.92, allocations: 0 / 1.27 GB, free: 63.67 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08884/3.009, allocations: 41.48 MB / 1.311 GB, free: 61.86 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/3.009, allocations: 226.7 kB / 1.311 GB, free: 61.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.853/6.862, allocations: 0 / 1.311 GB, free: 61.62 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat does not exist to compare? outputFormat=mat