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.01338/0.01338, allocations: 170.4 kB / 15.11 MB, free: 6.039 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.851/1.851, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001056/0.001056, allocations: 98.83 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9046/0.9046, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 485.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4818, allocations: 66.28 MB / 0.5387 GB, free: 45.71 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.834/1.316, allocations: 442 MB / 0.9704 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.316, allocations: 88.45 kB / 0.9704 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.906/2.222, allocations: 248.8 MB / 1.213 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.106e-06/2.222, allocations: 3.938 kB / 1.213 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000149/2.222, allocations: 35.98 kB / 1.213 GB, free: 3.781 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.006768/2.229, allocations: 1.769 MB / 1.215 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/2.229, allocations: 15.97 kB / 1.215 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008342/2.23, allocations: 177.6 kB / 1.215 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007125/2.231, allocations: 158.7 kB / 1.215 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/2.232, allocations: 0.7445 MB / 1.216 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/2.232, allocations: 90.75 kB / 1.216 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/2.233, allocations: 120 kB / 1.216 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3528/2.585, allocations: 1.411 MB / 1.218 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/2.586, allocations: 0 / 1.218 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/2.586, allocations: 50.62 kB / 1.218 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/2.586, allocations: 36.31 kB / 1.218 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/2.589, allocations: 1.717 MB / 1.22 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007324/2.596, allocations: 6.41 MB / 1.226 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/2.598, allocations: 1.521 MB / 1.227 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004992/2.603, allocations: 3.61 MB / 1.231 GB, free: 99.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/2.605, allocations: 0.8149 MB / 1.232 GB, free: 99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 4.438e-06/2.605, allocations: 2.938 kB / 1.232 GB, free: 99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.007621/2.612, allocations: 4.544 MB / 1.236 GB, free: 98.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/2.612, allocations: 73.53 kB / 1.236 GB, free: 97.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/2.613, allocations: 478.7 kB / 1.237 GB, free: 97.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/2.613, allocations: 46.36 kB / 1.237 GB, free: 97.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/2.613, allocations: 461.1 kB / 1.237 GB, free: 97.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/2.614, allocations: 464.9 kB / 1.237 GB, free: 97.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/2.614, allocations: 20.91 kB / 1.238 GB, free: 97.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001412/2.614, allocations: 405.2 kB / 1.238 GB, free: 97.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/2.615, allocations: 0.5841 MB / 1.238 GB, free: 97.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009693/2.616, allocations: 0.6866 MB / 1.239 GB, free: 97.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/2.617, allocations: 0.6895 MB / 1.24 GB, free: 96.97 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/2.617, allocations: 2.781 kB / 1.24 GB, free: 96.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003072/2.62, allocations: 1.733 MB / 1.242 GB, free: 96.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/2.62, allocations: 33.52 kB / 1.242 GB, free: 96.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/2.62, allocations: 0 / 1.242 GB, free: 96.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/2.621, allocations: 168 kB / 1.242 GB, free: 96.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/2.621, allocations: 248.6 kB / 1.242 GB, free: 96.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/2.625, allocations: 2.698 MB / 1.245 GB, free: 95.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/2.626, allocations: 97.42 kB / 1.245 GB, free: 95.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/2.626, allocations: 59.34 kB / 1.245 GB, free: 95.42 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 () * Number of clocked 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.0006066/2.627, allocations: 281.2 kB / 1.245 GB, free: 95.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/2.627, allocations: 104.3 kB / 1.245 GB, free: 95.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/2.633, allocations: 2.272 MB / 1.247 GB, free: 95.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/2.633, allocations: 17.22 kB / 1.247 GB, free: 95.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/2.633, allocations: 1.438 kB / 1.247 GB, free: 95.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/2.633, allocations: 15.09 kB / 1.247 GB, free: 95.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007086/2.64, allocations: 3.742 MB / 1.251 GB, free: 94.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/2.64, allocations: 1.594 kB / 1.251 GB, free: 94.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/2.641, allocations: 291.2 kB / 1.251 GB, free: 94.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/2.642, allocations: 146.2 kB / 1.251 GB, free: 94.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/2.642, allocations: 58.48 kB / 1.251 GB, free: 94.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/2.644, allocations: 2.385 MB / 1.254 GB, free: 93.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.644, allocations: 4.953 kB / 1.254 GB, free: 93.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/2.65, allocations: 2.901 MB / 1.257 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/2.65, allocations: 168.3 kB / 1.257 GB, free: 92.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/2.65, allocations: 35.42 kB / 1.257 GB, free: 92.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/2.651, allocations: 102.3 kB / 1.257 GB, free: 92.92 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/2.652, allocations: 123.2 kB / 1.257 GB, free: 92.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/2.652, allocations: 56.64 kB / 1.257 GB, free: 92.92 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005331/2.652, allocations: 376.3 kB / 1.257 GB, free: 92.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.652, allocations: 0 / 1.257 GB, free: 92.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002328/2.655, allocations: 0.5741 MB / 1.258 GB, free: 92.82 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) * Number of clocked states: 0 () * 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.006475/2.661, allocations: 4.327 MB / 1.262 GB, free: 91.87 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002962/2.664, allocations: 1.826 MB / 1.264 GB, free: 91.65 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/2.664, allocations: 0 / 1.264 GB, free: 91.65 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/2.666, allocations: 1.112 MB / 1.265 GB, free: 91.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/2.667, allocations: 304.7 kB / 1.265 GB, free: 91.51 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/2.681, allocations: 8.02 MB / 1.273 GB, free: 88.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/2.682, allocations: 1.174 MB / 1.274 GB, free: 88.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001441/2.683, allocations: 316.9 kB / 1.275 GB, free: 88.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008301/2.684, allocations: 0.5114 MB / 1.275 GB, free: 88.06 MB / 0.5886 GB Notification: Performance of SimCode: time 1.763e-06/2.684, allocations: 3.75 kB / 1.275 GB, free: 88.06 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07353/2.758, allocations: 38.77 MB / 1.313 GB, free: 86.46 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/2.758, allocations: 221.5 kB / 1.313 GB, free: 86.22 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/6.395, allocations: 0 / 1.313 GB, free: 86.22 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