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.001146/0.001146, allocations: 174.1 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.612/1.612, 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.0008804/0.0008806, allocations: 90.58 kB / 266.6 MB, free: 9.285 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.7802/0.7802, allocations: 90.34 MB / 405 MB, free: 8.648 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.605e-05, allocations: 3.984 kB / 479.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4219, allocations: 66.25 MB / 0.5327 GB, free: 28.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7503/1.172, allocations: 354.1 MB / 0.8785 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.172, allocations: 76.66 kB / 0.8786 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.507/2.679, allocations: 340.3 MB / 1.211 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.076e-06/2.679, allocations: 3.281 kB / 1.211 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002304/2.679, allocations: 49.48 kB / 1.211 GB, free: 102.9 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.005991/2.685, allocations: 1.779 MB / 1.213 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/2.686, allocations: 7.844 kB / 1.213 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006087/2.686, allocations: 175.1 kB / 1.213 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/2.687, allocations: 194.5 kB / 1.213 GB, free: 102 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/2.689, allocations: 0.781 MB / 1.214 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/2.689, allocations: 90.97 kB / 1.214 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/2.69, allocations: 117.4 kB / 1.214 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/2.692, allocations: 1.037 MB / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/2.692, allocations: 3.953 kB / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/2.692, allocations: 45.28 kB / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/2.692, allocations: 37.45 kB / 1.215 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/2.694, allocations: 1.099 MB / 1.216 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00674/2.701, allocations: 4.907 MB / 1.221 GB, free: 98.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/2.703, allocations: 1.181 MB / 1.222 GB, free: 98.83 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006917/2.703, allocations: 0.5161 MB / 1.223 GB, free: 98.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004054/2.707, allocations: 3.809 MB / 1.226 GB, free: 95.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/2.707, allocations: 46.34 kB / 1.226 GB, free: 95.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 3.386e-06/2.707, allocations: 0 / 1.226 GB, free: 95.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=115): time 0.002109/2.71, allocations: 1.128 MB / 1.228 GB, free: 95.78 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/2.71, allocations: 66.06 kB / 1.228 GB, free: 95.71 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.001118/2.711, allocations: 0.6832 MB / 1.228 GB, free: 95.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/2.711, allocations: 47.05 kB / 1.228 GB, free: 95.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/2.711, allocations: 0.5533 MB / 1.229 GB, free: 95.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/2.712, allocations: 391.4 kB / 1.229 GB, free: 95.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/2.712, allocations: 17.88 kB / 1.229 GB, free: 95.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001097/2.712, allocations: 345.6 kB / 1.23 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/2.712, allocations: 363.3 kB / 1.23 GB, free: 94.74 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/2.713, allocations: 438.3 kB / 1.23 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/2.713, allocations: 407.6 kB / 1.231 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/2.713, allocations: 3.906 kB / 1.231 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001918/2.715, allocations: 1.2 MB / 1.232 GB, free: 94.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/2.715, allocations: 3.938 kB / 1.232 GB, free: 94.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/2.715, allocations: 3.172 kB / 1.232 GB, free: 94.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005243/2.716, allocations: 154.3 kB / 1.232 GB, free: 94.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/2.717, allocations: 191.3 kB / 1.232 GB, free: 94.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/2.72, allocations: 4.459 MB / 1.237 GB, free: 90.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/2.721, allocations: 105.3 kB / 1.237 GB, free: 90.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/2.721, allocations: 43.05 kB / 1.237 GB, free: 90.7 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 () * 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.0001953/2.721, allocations: 157 kB / 1.237 GB, free: 90.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/2.721, allocations: 121.6 kB / 1.237 GB, free: 90.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/2.724, allocations: 1.409 MB / 1.238 GB, free: 90.37 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/2.724, allocations: 15.19 kB / 1.238 GB, free: 90.37 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.724, allocations: 3.969 kB / 1.238 GB, free: 90.37 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/2.724, allocations: 7.844 kB / 1.238 GB, free: 90.36 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/2.728, allocations: 2.664 MB / 1.241 GB, free: 89.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/2.728, allocations: 0 / 1.241 GB, free: 89.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/2.729, allocations: 186.5 kB / 1.241 GB, free: 89.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005594/2.729, allocations: 157.8 kB / 1.241 GB, free: 89.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/2.73, allocations: 39.92 kB / 1.241 GB, free: 89.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/2.733, allocations: 4.47 MB / 1.246 GB, free: 86.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/2.733, allocations: 3.938 kB / 1.246 GB, free: 86.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/2.736, allocations: 1.866 MB / 1.248 GB, free: 85.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008139/2.737, allocations: 326.4 kB / 1.248 GB, free: 85.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/2.737, allocations: 28.27 kB / 1.248 GB, free: 85.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/2.738, allocations: 56.09 kB / 1.248 GB, free: 85.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/2.738, allocations: 99.14 kB / 1.248 GB, free: 85.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/2.738, allocations: 39.27 kB / 1.248 GB, free: 85.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007793/2.739, allocations: 0.52 MB / 1.249 GB, free: 85.47 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.739, allocations: 0 / 1.249 GB, free: 85.47 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001927/2.741, allocations: 0.6088 MB / 1.249 GB, free: 85.38 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 () * 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.00485/2.746, allocations: 3.679 MB / 1.253 GB, free: 84.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002101/2.748, allocations: 1.432 MB / 1.254 GB, free: 83.58 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/2.748, allocations: 0 / 1.254 GB, free: 83.58 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/2.749, allocations: 1.009 MB / 1.255 GB, free: 83.15 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/2.751, allocations: 377.9 kB / 1.256 GB, free: 83.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/2.755, allocations: 2.022 MB / 1.257 GB, free: 82.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/2.756, allocations: 1.173 MB / 1.259 GB, free: 81.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008221/2.757, allocations: 206.2 kB / 1.259 GB, free: 81.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/2.757, allocations: 0.5311 MB / 1.259 GB, free: 81.77 MB / 0.5886 GB Notification: Performance of SimCode: time 1.944e-06/2.757, allocations: 0 / 1.259 GB, free: 81.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/2.837, allocations: 43.36 MB / 1.302 GB, free: 76.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/2.837, allocations: 200 kB / 1.302 GB, free: 76.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/6.658, allocations: 0 / 1.302 GB, free: 76.45 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