Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_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.0009622/0.0009623, allocations: 176.2 kB / 7.649 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.367/1.367, 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.0009749/0.0009751, allocations: 88.84 kB / 261.4 MB, free: 13.43 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.7445/0.7445, allocations: 90.36 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.135e-05, allocations: 4 kB / 472.3 MB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3629, allocations: 66.25 MB / 0.5259 GB, free: 28.99 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.416, allocations: 441.3 MB / 0.9569 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.416, allocations: 89.05 kB / 0.9569 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7984/2.214, allocations: 246.6 MB / 1.198 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/2.214, allocations: 0 / 1.198 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.066e-05/2.215, allocations: 46.56 kB / 1.198 GB, free: 126.1 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003534/2.218, allocations: 1.668 MB / 1.199 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/2.218, allocations: 11.41 kB / 1.199 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/2.218, allocations: 155.3 kB / 1.2 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/2.219, allocations: 0.7382 MB / 1.2 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/2.22, allocations: 42.45 kB / 1.2 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/2.22, allocations: 79.09 kB / 1.2 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002051/2.222, allocations: 1.556 MB / 1.202 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/2.223, allocations: 1.197 MB / 1.203 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/2.224, allocations: 3.844 kB / 1.203 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/2.224, allocations: 3.953 kB / 1.203 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.107e-05/2.224, allocations: 34.05 kB / 1.203 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/2.23, allocations: 6.206 MB / 1.209 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/2.231, allocations: 1.399 MB / 1.211 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/2.232, allocations: 0.6912 MB / 1.211 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004162/2.236, allocations: 3.609 MB / 1.215 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000994/2.237, allocations: 0.7328 MB / 1.216 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 3.537e-06/2.237, allocations: 3.172 kB / 1.216 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.01211/2.25, allocations: 4.135 MB / 1.22 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/2.25, allocations: 70.41 kB / 1.22 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/2.25, allocations: 419.8 kB / 1.22 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.133e-05/2.25, allocations: 25.7 kB / 1.22 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/2.251, allocations: 461.2 kB / 1.22 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/2.251, allocations: 439.9 kB / 1.221 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/2.251, allocations: 0 / 1.221 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001222/2.251, allocations: 404.9 kB / 1.221 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006559/2.252, allocations: 0.5211 MB / 1.222 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/2.252, allocations: 0.6104 MB / 1.222 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/2.255, allocations: 0.9269 MB / 1.223 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/2.255, allocations: 0 / 1.223 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004633/2.26, allocations: 1.869 MB / 1.225 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/2.26, allocations: 34.86 kB / 1.225 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/2.26, allocations: 2.906 kB / 1.225 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/2.261, allocations: 161 kB / 1.225 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/2.262, allocations: 248.4 kB / 1.226 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/2.265, allocations: 2.629 MB / 1.228 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009768/2.266, allocations: 74.84 kB / 1.228 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/2.266, allocations: 57.66 kB / 1.228 GB, free: 116.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002143/2.266, allocations: 121.4 kB / 1.228 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00483/2.271, allocations: 1.824 MB / 1.23 GB, free: 116 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/2.272, allocations: 97.72 kB / 1.23 GB, free: 116 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/2.277, allocations: 2.293 MB / 1.232 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/2.277, allocations: 17.94 kB / 1.233 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/2.277, allocations: 10.33 kB / 1.233 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/2.277, allocations: 7.266 kB / 1.233 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/2.283, allocations: 3.623 MB / 1.236 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/2.283, allocations: 0 / 1.236 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/2.284, allocations: 296.5 kB / 1.236 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003991/2.285, allocations: 141.4 kB / 1.236 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.773e-05/2.285, allocations: 39.14 kB / 1.237 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/2.287, allocations: 2.291 MB / 1.239 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.287, allocations: 0 / 1.239 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/2.292, allocations: 2.866 MB / 1.242 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/2.293, allocations: 166.8 kB / 1.242 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/2.293, allocations: 15.58 kB / 1.242 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/2.294, allocations: 69.98 kB / 1.242 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/2.294, allocations: 127.4 kB / 1.242 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/2.294, allocations: 57.05 kB / 1.242 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003716/2.294, allocations: 325.6 kB / 1.242 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.294, allocations: 0 / 1.242 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001968/2.296, allocations: 0.5291 MB / 1.243 GB, free: 111.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (junctionRFF2_1.junctionMN.rears[1].m_flow,junctionRFF2_1.junctionMN.fores[1].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 (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00665/2.303, allocations: 4.29 MB / 1.247 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002402/2.306, allocations: 1.659 MB / 1.249 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/2.306, allocations: 0 / 1.249 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/2.307, allocations: 1.007 MB / 1.25 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/2.308, allocations: 285.1 kB / 1.25 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/2.313, allocations: 2.112 MB / 1.252 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/2.313, allocations: 1.163 MB / 1.253 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001145/2.315, allocations: 320 kB / 1.253 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006819/2.315, allocations: 0.5181 MB / 1.254 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.253e-06/2.315, allocations: 0 / 1.254 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05919/2.375, allocations: 34.41 MB / 1.287 GB, free: 95.28 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/2.375, allocations: 163.8 kB / 1.288 GB, free: 95.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/5.454, allocations: 4 kB / 1.288 GB, free: 95.09 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_TanValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat