Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",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.001743/0.001743, allocations: 174.6 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.613/1.613, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0009291/0.0009291, allocations: 90.58 kB / 266.6 MB, free: 9.277 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.8682/0.8682, allocations: 90.35 MB / 405 MB, free: 8.641 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.848e-05, allocations: 0 / 479.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4256, allocations: 66.26 MB / 0.5327 GB, free: 28.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.771/1.197, allocations: 359.2 MB / 0.8836 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.197, allocations: 83.39 kB / 0.8836 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9144/2.111, allocations: 267.1 MB / 1.145 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.663e-06/2.111, allocations: 4 kB / 1.145 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001154/2.112, allocations: 43.98 kB / 1.145 GB, free: 20.09 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004261/2.116, allocations: 1.985 MB / 1.146 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/2.116, allocations: 8.031 kB / 1.147 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/2.116, allocations: 194.5 kB / 1.147 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006341/2.117, allocations: 237.5 kB / 1.147 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/2.118, allocations: 0.9186 MB / 1.148 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/2.118, allocations: 102.6 kB / 1.148 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/2.119, allocations: 135.9 kB / 1.148 GB, free: 16.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/2.121, allocations: 1.312 MB / 1.149 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/2.121, allocations: 4 kB / 1.149 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/2.121, allocations: 56 kB / 1.149 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/2.121, allocations: 32 kB / 1.149 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/2.123, allocations: 1.502 MB / 1.151 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007116/2.13, allocations: 6.347 MB / 1.157 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/2.132, allocations: 1.466 MB / 1.159 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/2.133, allocations: 0.6991 MB / 1.159 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3985/2.531, allocations: 4.421 MB / 1.164 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/2.532, allocations: 0.6827 MB / 1.164 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=148): time 4.679e-06/2.532, allocations: 0 / 1.164 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.003189/2.536, allocations: 1.403 MB / 1.166 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/2.536, allocations: 65.78 kB / 1.166 GB, free: 107.7 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValveInverse.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/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValveInverse.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/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter slideValve.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/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValve.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/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValve.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/SpecificValveType.mo:17:3-18:61:writable] Warning: Parameter slideValve.d_valve 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.002452/2.538, allocations: 1.085 MB / 1.167 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/2.538, allocations: 49.14 kB / 1.167 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/2.539, allocations: 0.6282 MB / 1.167 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/2.539, allocations: 0.494 MB / 1.168 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/2.539, allocations: 29.16 kB / 1.168 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.539, allocations: 356 kB / 1.168 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/2.54, allocations: 485.7 kB / 1.169 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/2.541, allocations: 0.6381 MB / 1.169 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/2.543, allocations: 0.5718 MB / 1.17 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/2.543, allocations: 1.156 kB / 1.17 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003439/2.546, allocations: 1.558 MB / 1.171 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/2.546, allocations: 32.64 kB / 1.171 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/2.546, allocations: 4 kB / 1.171 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/2.547, allocations: 112 kB / 1.171 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/2.548, allocations: 285.8 kB / 1.172 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/2.55, allocations: 3.003 MB / 1.175 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/2.552, allocations: 153.6 kB / 1.175 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/2.552, allocations: 59.28 kB / 1.175 GB, free: 103.8 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 (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002704/2.552, allocations: 178.5 kB / 1.175 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/2.552, allocations: 160.9 kB / 1.175 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/2.556, allocations: 1.996 MB / 1.177 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/2.556, allocations: 23.56 kB / 1.177 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/2.556, allocations: 2.75 kB / 1.177 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/2.556, allocations: 10.83 kB / 1.177 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00596/2.562, allocations: 3.521 MB / 1.181 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/2.562, allocations: 3.656 kB / 1.181 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/2.564, allocations: 290.1 kB / 1.181 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/2.564, allocations: 115.5 kB / 1.181 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/2.564, allocations: 52.19 kB / 1.181 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/2.566, allocations: 2.994 MB / 1.184 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.566, allocations: 1.062 kB / 1.184 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/2.571, allocations: 2.457 MB / 1.186 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/2.572, allocations: 0.4948 MB / 1.187 GB, free: 100 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/2.572, allocations: 31.19 kB / 1.187 GB, free: 100 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/2.573, allocations: 94.83 kB / 1.187 GB, free: 100 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/2.573, allocations: 125.3 kB / 1.187 GB, free: 100 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/2.573, allocations: 61.8 kB / 1.187 GB, free: 100 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001458/2.575, allocations: 0.8431 MB / 1.188 GB, free: 99.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/2.575, allocations: 0 / 1.188 GB, free: 99.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002556/2.577, allocations: 0.6471 MB / 1.189 GB, free: 99.86 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.rear.m_flow,slideValveInverse.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 (162): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.006507/2.584, allocations: 4.141 MB / 1.193 GB, free: 98.72 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003198/2.587, allocations: 1.648 MB / 1.194 GB, free: 98.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/2.587, allocations: 1.375 kB / 1.194 GB, free: 98.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/2.589, allocations: 1.015 MB / 1.195 GB, free: 98.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/2.592, allocations: 416.1 kB / 1.196 GB, free: 98.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/2.599, allocations: 2.718 MB / 1.198 GB, free: 97.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009728/2.6, allocations: 1.322 MB / 1.2 GB, free: 96.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001403/2.601, allocations: 353.5 kB / 1.2 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008904/2.602, allocations: 0.6592 MB / 1.201 GB, free: 96.73 MB / 0.5886 GB Notification: Performance of SimCode: time 3.126e-06/2.602, allocations: 0 / 1.201 GB, free: 96.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07077/2.673, allocations: 45.18 MB / 1.245 GB, free: 94.82 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.673, allocations: 260.3 kB / 1.245 GB, free: 94.47 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/6.41, allocations: 0 / 1.245 GB, free: 94.47 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat does not exist to compare? outputFormat=mat