Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.000958, allocations: 93.27 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.008525/0.008525, allocations: 1.575 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7215/0.7215, allocations: 90.04 MB / 474 MB, free: 13.05 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.772e-05, allocations: 2.719 kB / 0.5376 GB, free: 33.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1753, allocations: 69.37 MB / 0.6053 GB, free: 28 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.489, allocations: 441.4 MB / 1.036 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.489, allocations: 88.8 kB / 1.036 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8737/2.363, allocations: 251.5 MB / 1.282 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/2.363, allocations: 0 / 1.282 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001514/2.363, allocations: 35.2 kB / 1.282 GB, free: 120.2 MB / 0.6042 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.005083/2.368, allocations: 1.674 MB / 1.284 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/2.368, allocations: 8.031 kB / 1.284 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000687/2.369, allocations: 154.2 kB / 1.284 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/2.37, allocations: 0.7283 MB / 1.285 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/2.37, allocations: 40 kB / 1.285 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/2.37, allocations: 79.91 kB / 1.285 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002007/2.372, allocations: 1.563 MB / 1.286 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/2.374, allocations: 1.199 MB / 1.287 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/2.374, allocations: 4.859 kB / 1.287 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/2.374, allocations: 0 / 1.287 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/2.374, allocations: 35.98 kB / 1.287 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/2.38, allocations: 6.212 MB / 1.294 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/2.382, allocations: 1.399 MB / 1.295 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/2.382, allocations: 0.6881 MB / 1.296 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004153/2.387, allocations: 3.616 MB / 1.299 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/2.388, allocations: 0.7369 MB / 1.3 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 6.221e-06/2.388, allocations: 0 / 1.3 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.01312/2.401, allocations: 4.132 MB / 1.304 GB, free: 96.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/2.401, allocations: 64.72 kB / 1.304 GB, free: 96.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/2.402, allocations: 423.5 kB / 1.304 GB, free: 96.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/2.402, allocations: 25.7 kB / 1.304 GB, free: 96.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/2.402, allocations: 460.6 kB / 1.305 GB, free: 95.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/2.402, allocations: 445.3 kB / 1.305 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/2.402, allocations: 0 / 1.305 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001663/2.403, allocations: 402.7 kB / 1.306 GB, free: 95.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/2.403, allocations: 0.5142 MB / 1.306 GB, free: 94.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/2.404, allocations: 0.6171 MB / 1.307 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/2.407, allocations: 0.9274 MB / 1.308 GB, free: 92.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/2.407, allocations: 0 / 1.308 GB, free: 92.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004561/2.412, allocations: 1.87 MB / 1.309 GB, free: 91.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/2.412, allocations: 41.83 kB / 1.309 GB, free: 91.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/2.412, allocations: 0 / 1.309 GB, free: 91.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/2.412, allocations: 156.8 kB / 1.31 GB, free: 90.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/2.413, allocations: 255.6 kB / 1.31 GB, free: 90.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/2.417, allocations: 2.623 MB / 1.312 GB, free: 87.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000969/2.418, allocations: 71.77 kB / 1.312 GB, free: 87.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/2.418, allocations: 51.97 kB / 1.313 GB, free: 87.78 MB / 0.6042 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.0002553/2.418, allocations: 128.7 kB / 1.313 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00488/2.423, allocations: 1.823 MB / 1.314 GB, free: 85.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/2.423, allocations: 98.88 kB / 1.315 GB, free: 85.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005246/2.429, allocations: 2.288 MB / 1.317 GB, free: 83.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/2.429, allocations: 20 kB / 1.317 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/2.429, allocations: 4 kB / 1.317 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/2.429, allocations: 7.969 kB / 1.317 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/2.436, allocations: 3.627 MB / 1.32 GB, free: 79.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/2.436, allocations: 0 / 1.32 GB, free: 79.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/2.437, allocations: 283.6 kB / 1.321 GB, free: 79.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/2.438, allocations: 153 kB / 1.321 GB, free: 79.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/2.438, allocations: 35.95 kB / 1.321 GB, free: 79.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/2.44, allocations: 2.283 MB / 1.323 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/2.44, allocations: 0 / 1.323 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/2.445, allocations: 2.869 MB / 1.326 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/2.445, allocations: 171.9 kB / 1.326 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/2.445, allocations: 19.92 kB / 1.326 GB, free: 73.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/2.446, allocations: 75.67 kB / 1.326 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/2.446, allocations: 113.1 kB / 1.326 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/2.446, allocations: 63.95 kB / 1.326 GB, free: 73.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003583/2.447, allocations: 323.2 kB / 1.327 GB, free: 73.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.447, allocations: 4 kB / 1.327 GB, free: 73.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00171/2.449, allocations: 0.5311 MB / 1.327 GB, free: 72.68 MB / 0.6042 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.006499/2.455, allocations: 4.292 MB / 1.331 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002396/2.458, allocations: 1.659 MB / 1.333 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.458, allocations: 0 / 1.333 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/2.459, allocations: 1.006 MB / 1.334 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/2.46, allocations: 287.6 kB / 1.334 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/2.465, allocations: 2.113 MB / 1.336 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/2.465, allocations: 1.177 MB / 1.337 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009871/2.466, allocations: 323 kB / 1.338 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/2.467, allocations: 0.507 MB / 1.338 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/2.467, allocations: 0 / 1.338 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0607/2.527, allocations: 34.39 MB / 1.372 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.528, allocations: 151.7 kB / 1.372 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/5.795, allocations: 0 / 1.372 GB, free: 26.77 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat