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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009604, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7233/0.7233, allocations: 89.64 MB / 380.6 MB, free: 11.41 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004535, allocations: 7.812 kB / 460 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 68.84 MB / 0.5165 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.5074/0.6646, allocations: 146.8 MB / 0.6598 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.6781, allocations: 9.216 MB / 0.6688 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.6802, allocations: 26.09 kB / 0.6689 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.6825, allocations: 0.6696 MB / 0.6695 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.6877, allocations: 1.445 MB / 0.6709 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.6907, allocations: 0.8259 MB / 0.6717 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.6938, allocations: 1.531 MB / 0.6732 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006777/0.6945, allocations: 360.3 kB / 0.6736 GB, free: 8.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.6959, allocations: 0.7203 MB / 0.6743 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.6973, allocations: 0.9734 MB / 0.6752 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.6974, allocations: 64 kB / 0.6753 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004829/0.7023, allocations: 1.689 MB / 0.6769 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.7027, allocations: 239 kB / 0.6772 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006033/0.7033, allocations: 289 kB / 0.6774 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.7061, allocations: 1.66 MB / 0.6791 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7061, allocations: 0 / 0.6791 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.7061, allocations: 0 / 0.6791 GB, free: 3.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.7062, allocations: 0 / 0.6791 GB, free: 3.273 MB / 494.1 MB 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.003806/0.71, allocations: 1.66 MB / 0.6807 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.7101, allocations: 8.031 kB / 0.6807 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.7103, allocations: 177.6 kB / 0.6809 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.7106, allocations: 150.2 kB / 0.681 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.7118, allocations: 0.7087 MB / 0.6817 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.7119, allocations: 98.34 kB / 0.6818 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.712, allocations: 124 kB / 0.6819 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.7145, allocations: 1.513 MB / 0.6834 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.7145, allocations: 0 / 0.6834 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7146, allocations: 52 kB / 0.6834 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.7147, allocations: 28 kB / 0.6835 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.7175, allocations: 1.68 MB / 0.6851 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007596/0.7251, allocations: 6.361 MB / 0.6913 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.7274, allocations: 1.303 MB / 0.6926 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005175/0.7326, allocations: 4.166 MB / 0.6967 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.734, allocations: 0.7354 MB / 0.6974 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=128): time 3.246e-06/0.734, allocations: 0 / 0.6974 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129): time 0.00744/0.7414, allocations: 3.957 MB / 0.7012 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.7415, allocations: 64.72 kB / 0.7013 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007042/0.7422, allocations: 0.5708 MB / 0.7019 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.7423, allocations: 53.64 kB / 0.7019 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.7427, allocations: 468.5 kB / 0.7024 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.7431, allocations: 449.5 kB / 0.7028 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.7432, allocations: 20 kB / 0.7028 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7433, allocations: 349.9 kB / 0.7031 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009086/0.7442, allocations: 0.514 MB / 0.7036 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009689/0.7452, allocations: 0.629 MB / 0.7043 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.7463, allocations: 0.6094 MB / 0.7048 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7463, allocations: 0 / 0.7048 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002874/0.7492, allocations: 1.588 MB / 0.7064 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.7492, allocations: 37.69 kB / 0.7064 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.7492, allocations: 4 kB / 0.7064 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/0.7498, allocations: 161.9 kB / 0.7066 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.7507, allocations: 251.6 kB / 0.7068 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/0.7546, allocations: 2.568 MB / 0.7093 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/0.7555, allocations: 87.88 kB / 0.7094 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.7556, allocations: 47.97 kB / 0.7095 GB, free: 2.566 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.000536/0.7562, allocations: 285.5 kB / 0.7097 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.7563, allocations: 98.78 kB / 0.7098 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.7606, allocations: 2.357 MB / 0.7121 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.7606, allocations: 16 kB / 0.7122 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7606, allocations: 0 / 0.7122 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.7607, allocations: 7.969 kB / 0.7122 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/0.7664, allocations: 3.474 MB / 0.7156 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7664, allocations: 0 / 0.7156 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000983/0.7674, allocations: 271.6 kB / 0.7158 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.7678, allocations: 148.8 kB / 0.716 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/0.7679, allocations: 43.97 kB / 0.716 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.7706, allocations: 2.26 MB / 0.7182 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7706, allocations: 3.938 kB / 0.7182 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/0.7753, allocations: 2.636 MB / 0.7208 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.7757, allocations: 191.7 kB / 0.721 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.7758, allocations: 28 kB / 0.721 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.7765, allocations: 99.83 kB / 0.7211 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.7768, allocations: 113.1 kB / 0.7212 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.7769, allocations: 47.97 kB / 0.7212 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005626/0.7775, allocations: 431 kB / 0.7217 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7775, allocations: 0 / 0.7217 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001932/0.7794, allocations: 0.5155 MB / 0.7222 GB, free: 5.316 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.rear.m_flow,flowResistance2.rear.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 (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006242/0.7857, allocations: 3.927 MB / 0.726 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002967/0.7887, allocations: 1.641 MB / 0.7276 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7887, allocations: 0 / 0.7276 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.7904, allocations: 1.006 MB / 0.7286 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.7922, allocations: 327.2 kB / 0.7289 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.8051, allocations: 8.178 MB / 0.7369 GB, free: 5.906 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.806, allocations: 1.166 MB / 0.738 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001192/0.8072, allocations: 336.5 kB / 0.7383 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/0.808, allocations: 0.4993 MB / 0.7388 GB, free: 3.926 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/0.808, allocations: 0 / 0.7388 GB, free: 3.926 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05755/0.8655, allocations: 34.19 MB / 0.7722 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.8658, allocations: 217.1 kB / 0.7724 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.813/3.679, allocations: 0 / 0.7724 GB, free: 1.797 MB / 0.5762 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