Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_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.00275/0.00275, allocations: 175.2 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.626/1.626, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008626/0.0008628, allocations: 89.89 kB / 266.6 MB, free: 9.266 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.8464/0.8464, allocations: 90.34 MB / 405 MB, free: 8.617 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.213e-05, allocations: 0 / 479.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3997, allocations: 66.26 MB / 0.5327 GB, free: 28.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6838/1.084, allocations: 357.7 MB / 0.882 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.084, allocations: 85.83 kB / 0.8821 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.494/2.578, allocations: 389.7 MB / 1.263 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.332e-06/2.578, allocations: 0 / 1.263 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001137/2.578, allocations: 54.61 kB / 1.263 GB, free: 97.67 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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.005292/2.584, allocations: 2.426 MB / 1.265 GB, free: 96.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/2.584, allocations: 12.69 kB / 1.265 GB, free: 96.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003373/2.584, allocations: 268.9 kB / 1.265 GB, free: 96.42 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/2.585, allocations: 298.2 kB / 1.266 GB, free: 96.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/2.586, allocations: 1.055 MB / 1.267 GB, free: 95.92 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/2.587, allocations: 142.3 kB / 1.267 GB, free: 95.92 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/2.587, allocations: 189.8 kB / 1.267 GB, free: 95.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/2.59, allocations: 1.873 MB / 1.269 GB, free: 95.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/2.59, allocations: 0 / 1.269 GB, free: 95.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/2.59, allocations: 82.67 kB / 1.269 GB, free: 95.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/2.59, allocations: 46.69 kB / 1.269 GB, free: 95.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/2.593, allocations: 2.193 MB / 1.271 GB, free: 95.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008435/2.601, allocations: 9.006 MB / 1.28 GB, free: 89.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/2.603, allocations: 2.198 MB / 1.282 GB, free: 88.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/2.605, allocations: 1.023 MB / 1.283 GB, free: 88.24 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006269/2.611, allocations: 6.126 MB / 1.289 GB, free: 83.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/2.612, allocations: 0.9991 MB / 1.29 GB, free: 82.97 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 3.968e-06/2.612, allocations: 3.375 kB / 1.29 GB, free: 82.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=216): time 0.003189/2.616, allocations: 2.012 MB / 1.292 GB, free: 82.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/2.616, allocations: 77.28 kB / 1.292 GB, free: 82.11 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29: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/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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/Undirected/FlowControl/BasicControlValve.mo:28:3-29: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/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.0009391/2.617, allocations: 0.8141 MB / 1.293 GB, free: 81.76 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/2.617, allocations: 57.55 kB / 1.293 GB, free: 81.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/2.617, allocations: 0.7444 MB / 1.294 GB, free: 81.13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/2.617, allocations: 0.7119 MB / 1.294 GB, free: 80.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/2.618, allocations: 39.53 kB / 1.294 GB, free: 80.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/2.618, allocations: 371.2 kB / 1.295 GB, free: 80.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009449/2.619, allocations: 0.6894 MB / 1.295 GB, free: 79.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/2.62, allocations: 0.8897 MB / 1.296 GB, free: 79.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/2.621, allocations: 0.8215 MB / 1.297 GB, free: 79.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/2.621, allocations: 0 / 1.297 GB, free: 79.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.003289/2.624, allocations: 2.2 MB / 1.299 GB, free: 78.19 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/2.624, allocations: 31.73 kB / 1.299 GB, free: 78.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/2.624, allocations: 1.781 kB / 1.299 GB, free: 78.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/2.625, allocations: 162.1 kB / 1.299 GB, free: 78.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/2.626, allocations: 403.3 kB / 1.3 GB, free: 78.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/2.629, allocations: 4.481 MB / 1.304 GB, free: 73.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/2.63, allocations: 206.9 kB / 1.304 GB, free: 73.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/2.63, allocations: 86.3 kB / 1.304 GB, free: 73.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * 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.0002662/2.631, allocations: 208.3 kB / 1.305 GB, free: 73.51 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/2.631, allocations: 168.9 kB / 1.305 GB, free: 73.42 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/2.636, allocations: 2.879 MB / 1.308 GB, free: 72.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/2.636, allocations: 23.06 kB / 1.308 GB, free: 72.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/2.636, allocations: 3.344 kB / 1.308 GB, free: 72.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/2.636, allocations: 15.25 kB / 1.308 GB, free: 72.24 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/2.642, allocations: 4.834 MB / 1.312 GB, free: 69.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/2.642, allocations: 0 / 1.312 GB, free: 69.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/2.643, allocations: 403.7 kB / 1.313 GB, free: 69.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/2.644, allocations: 168.7 kB / 1.313 GB, free: 69.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/2.644, allocations: 74.03 kB / 1.313 GB, free: 69.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/2.647, allocations: 4.481 MB / 1.317 GB, free: 65.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.647, allocations: 3.938 kB / 1.317 GB, free: 65.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/2.652, allocations: 3.493 MB / 1.321 GB, free: 63.44 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/2.653, allocations: 0.5401 MB / 1.321 GB, free: 62.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/2.653, allocations: 41.69 kB / 1.321 GB, free: 62.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009401/2.654, allocations: 126.6 kB / 1.321 GB, free: 62.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/2.654, allocations: 173.9 kB / 1.322 GB, free: 62.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/2.654, allocations: 88.25 kB / 1.322 GB, free: 62.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007113/2.655, allocations: 0.6127 MB / 1.322 GB, free: 62.44 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.655, allocations: 0 / 1.322 GB, free: 62.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002311/2.657, allocations: 0.9002 MB / 1.323 GB, free: 61.75 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.rear.m_flow,valveParabolic.rear.m_flow,valveEqualPercentage.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.006583/2.664, allocations: 5.443 MB / 1.328 GB, free: 56.49 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003301/2.667, allocations: 2.378 MB / 1.331 GB, free: 54.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/2.667, allocations: 4 kB / 1.331 GB, free: 54.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/2.669, allocations: 1.491 MB / 1.332 GB, free: 52.54 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/2.671, allocations: 0.5363 MB / 1.333 GB, free: 52.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/2.677, allocations: 3.156 MB / 1.336 GB, free: 48.96 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/2.678, allocations: 1.425 MB / 1.337 GB, free: 47.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001467/2.679, allocations: 422.8 kB / 1.338 GB, free: 47.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009287/2.68, allocations: 0.8468 MB / 1.338 GB, free: 46.31 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/2.68, allocations: 0 / 1.338 GB, free: 46.31 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4668/3.147, allocations: 60.06 MB / 1.397 GB, free: 90.39 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/3.147, allocations: 211.4 kB / 1.397 GB, free: 90.17 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.439/7.586, allocations: 0 / 1.397 GB, free: 90.17 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat does not exist to compare? outputFormat=mat