Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.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.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",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.001963/0.001963, allocations: 173.7 kB / 7.646 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.662/1.662, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0009397/0.00094, allocations: 93.89 kB / 261.4 MB, free: 13.44 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.864/0.864, allocations: 90.37 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.765e-05, allocations: 0 / 472.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4327, allocations: 66.27 MB / 0.5259 GB, free: 28.96 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.699, allocations: 437 MB / 0.9527 GB, free: 218.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/1.699, allocations: 75.95 kB / 0.9528 GB, free: 218.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3903/2.09, allocations: 203.4 MB / 1.151 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.916e-06/2.09, allocations: 0 / 1.151 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001246/2.09, allocations: 28 kB / 1.151 GB, free: 12.66 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003651/2.094, allocations: 1.142 MB / 1.153 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.277e-05/2.094, allocations: 8.031 kB / 1.153 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/2.094, allocations: 94.88 kB / 1.153 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/2.096, allocations: 0.4986 MB / 1.153 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/2.096, allocations: 27.95 kB / 1.153 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/2.096, allocations: 43.91 kB / 1.153 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/2.097, allocations: 0.5584 MB / 1.154 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/2.098, allocations: 0.5462 MB / 1.154 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/2.098, allocations: 0 / 1.154 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/2.099, allocations: 0 / 1.154 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/2.099, allocations: 16 kB / 1.154 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/2.102, allocations: 3.053 MB / 1.157 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/2.104, allocations: 0.6654 MB / 1.158 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/2.104, allocations: 266.4 kB / 1.158 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/2.104, allocations: 0.99 MB / 1.159 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/2.105, allocations: 39.12 kB / 1.159 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/2.105, allocations: 0 / 1.159 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.003735/2.108, allocations: 1.377 MB / 1.161 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/2.108, allocations: 63.86 kB / 1.161 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/2.109, allocations: 333.3 kB / 1.161 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/2.109, allocations: 25.7 kB / 1.161 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/2.109, allocations: 344.2 kB / 1.161 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/2.109, allocations: 197 kB / 1.161 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/2.109, allocations: 0 / 1.161 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001099/2.109, allocations: 366.8 kB / 1.162 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/2.109, allocations: 189.1 kB / 1.162 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/2.11, allocations: 187.9 kB / 1.162 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/2.11, allocations: 210.1 kB / 1.162 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.11, allocations: 0 / 1.162 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001285/2.112, allocations: 0.6239 MB / 1.163 GB, free: 64 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/2.112, allocations: 9.094 kB / 1.163 GB, free: 56 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.112, allocations: 3.953 kB / 1.163 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4156/2.527, allocations: 105.8 kB / 1.163 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/2.528, allocations: 94.25 kB / 1.163 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/2.53, allocations: 1.892 MB / 1.165 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/2.53, allocations: 32.09 kB / 1.165 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/2.53, allocations: 25.95 kB / 1.165 GB, free: 124.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/2.531, allocations: 108 kB / 1.165 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001492/2.532, allocations: 0.6162 MB / 1.166 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/2.532, allocations: 61.39 kB / 1.166 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/2.534, allocations: 0.7877 MB / 1.167 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/2.534, allocations: 7.375 kB / 1.167 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/2.534, allocations: 3.688 kB / 1.167 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/2.534, allocations: 3.656 kB / 1.167 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/2.537, allocations: 1.49 MB / 1.168 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/2.537, allocations: 4.312 kB / 1.168 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/2.537, allocations: 111.5 kB / 1.168 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003607/2.538, allocations: 102.4 kB / 1.168 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/2.538, allocations: 21.84 kB / 1.168 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/2.54, allocations: 1.89 MB / 1.17 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.54, allocations: 0.5938 kB / 1.17 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/2.542, allocations: 1.074 MB / 1.171 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/2.542, allocations: 134.5 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/2.542, allocations: 8.891 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/2.542, allocations: 33.11 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/2.542, allocations: 51.58 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/2.542, allocations: 24.52 kB / 1.171 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002737/2.543, allocations: 260.6 kB / 1.172 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/2.543, allocations: 0 / 1.172 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001327/2.544, allocations: 360.4 kB / 1.172 GB, free: 122.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (splitterT2_1.splitterN.inlet.m_flow,splitterT2_1.splitterN.outlets[1].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003615/2.548, allocations: 2.367 MB / 1.174 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001298/2.549, allocations: 0.6794 MB / 1.175 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.549, allocations: 2.5 kB / 1.175 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/2.55, allocations: 497 kB / 1.175 GB, free: 121 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/2.551, allocations: 165.1 kB / 1.176 GB, free: 121 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/2.553, allocations: 1.147 MB / 1.177 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/2.554, allocations: 0.9622 MB / 1.178 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004334/2.554, allocations: 114.1 kB / 1.178 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/2.555, allocations: 285.2 kB / 1.178 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.272e-06/2.555, allocations: 0.9062 kB / 1.178 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05657/2.611, allocations: 20.86 MB / 1.198 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/2.612, allocations: 154.4 kB / 1.199 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/5.482, allocations: 2.312 kB / 1.199 GB, free: 119.3 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat