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.001798/0.001798, 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.602/1.602, 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.0009269/0.0009271, allocations: 82.59 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.8068/0.8068, allocations: 90.34 MB / 405 MB, free: 8.621 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.221e-05/4.269e-05, allocations: 4 kB / 479.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4498, allocations: 66.26 MB / 0.5327 GB, free: 28.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.681, allocations: 441.9 MB / 0.9643 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.681, allocations: 80.61 kB / 0.9644 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9077/2.589, allocations: 247.9 MB / 1.206 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.023e-06/2.589, allocations: 2.469 kB / 1.206 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001465/2.589, allocations: 39.42 kB / 1.206 GB, free: 130.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.00541/2.595, allocations: 1.67 MB / 1.208 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/2.595, allocations: 11.44 kB / 1.208 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006179/2.595, allocations: 180.1 kB / 1.208 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007613/2.596, allocations: 156.5 kB / 1.208 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/2.598, allocations: 0.7314 MB / 1.209 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/2.598, allocations: 91.97 kB / 1.209 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/2.598, allocations: 127.2 kB / 1.209 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/2.601, allocations: 1.359 MB / 1.211 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/2.601, allocations: 0 / 1.211 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/2.601, allocations: 46.98 kB / 1.211 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/2.601, allocations: 39.67 kB / 1.211 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/2.604, allocations: 1.619 MB / 1.212 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007662/2.612, allocations: 6.42 MB / 1.219 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/2.614, allocations: 1.447 MB / 1.22 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/2.615, allocations: 0.726 MB / 1.221 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004893/2.62, allocations: 3.661 MB / 1.224 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/2.621, allocations: 0.7708 MB / 1.225 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 3.927e-06/2.621, allocations: 0 / 1.225 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.00645/2.628, allocations: 3.308 MB / 1.228 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/2.628, allocations: 69.5 kB / 1.228 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/2.629, allocations: 471.5 kB / 1.229 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/2.629, allocations: 45.55 kB / 1.229 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/2.629, allocations: 463.9 kB / 1.229 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/2.629, allocations: 458.4 kB / 1.23 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/2.629, allocations: 27.41 kB / 1.23 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001625/2.63, allocations: 403.1 kB / 1.23 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008567/2.63, allocations: 0.5393 MB / 1.231 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008807/2.631, allocations: 0.6411 MB / 1.231 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/2.632, allocations: 0.6483 MB / 1.232 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/2.632, allocations: 0 / 1.232 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002857/2.635, allocations: 1.64 MB / 1.234 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/2.635, allocations: 33.11 kB / 1.234 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/2.635, allocations: 0 / 1.234 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/2.636, allocations: 168.5 kB / 1.234 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009339/2.637, allocations: 256.8 kB / 1.234 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/2.64, allocations: 2.636 MB / 1.237 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/2.641, allocations: 98.5 kB / 1.237 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/2.642, allocations: 55.28 kB / 1.237 GB, free: 117.8 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.0002783/2.642, allocations: 169.5 kB / 1.237 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/2.642, allocations: 99.5 kB / 1.237 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/2.646, allocations: 2.182 MB / 1.239 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/2.646, allocations: 14.94 kB / 1.239 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/2.646, allocations: 6.078 kB / 1.239 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/2.646, allocations: 7.688 kB / 1.239 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005824/2.652, allocations: 3.645 MB / 1.243 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/2.652, allocations: 3.938 kB / 1.243 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/2.653, allocations: 292.6 kB / 1.243 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/2.654, allocations: 143.2 kB / 1.243 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/2.654, allocations: 54.3 kB / 1.243 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/2.656, allocations: 2.336 MB / 1.245 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/2.656, allocations: 2.906 kB / 1.245 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/2.66, allocations: 2.746 MB / 1.248 GB, free: 112 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/2.661, allocations: 177 kB / 1.248 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/2.661, allocations: 30.66 kB / 1.248 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/2.662, allocations: 105.6 kB / 1.248 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/2.662, allocations: 121.7 kB / 1.249 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/2.662, allocations: 53.31 kB / 1.249 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004431/2.663, allocations: 371.8 kB / 1.249 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/2.663, allocations: 0 / 1.249 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002082/2.665, allocations: 0.5772 MB / 1.25 GB, free: 111.5 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.005888/2.671, allocations: 4.177 MB / 1.254 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002785/2.673, allocations: 1.728 MB / 1.255 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.673, allocations: 0 / 1.255 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/2.675, allocations: 1.054 MB / 1.256 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/2.677, allocations: 308.9 kB / 1.257 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/2.681, allocations: 2.234 MB / 1.259 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/2.682, allocations: 1.17 MB / 1.26 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00108/2.683, allocations: 317.9 kB / 1.26 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007209/2.684, allocations: 0.5164 MB / 1.261 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.543e-06/2.684, allocations: 0 / 1.261 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06539/2.749, allocations: 39.99 MB / 1.3 GB, free: 75.96 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/2.75, allocations: 194.5 kB / 1.3 GB, free: 75.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.549/6.299, allocations: 4.062 kB / 1.3 GB, free: 75.73 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