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.001057/0.001057, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0012/0.0012, allocations: 168.7 kB / 15.95 MB, free: 204 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.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7296/0.7296, allocations: 89.66 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.000382, allocations: 10.28 kB / 460.2 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1839, allocations: 68.84 MB / 0.5166 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.514/0.6979, allocations: 158.1 MB / 0.671 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.7116, allocations: 10.22 MB / 0.681 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.7133, allocations: 23.88 kB / 0.681 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.7152, allocations: 0.6604 MB / 0.6816 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.7195, allocations: 1.464 MB / 0.6831 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.7223, allocations: 0.8036 MB / 0.6839 GB, free: 40 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003697/0.726, allocations: 2.787 MB / 0.6866 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.7267, allocations: 372.4 kB / 0.6869 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.7283, allocations: 0.7976 MB / 0.6877 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.7301, allocations: 1.219 MB / 0.6889 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.7303, allocations: 56 kB / 0.689 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004278/0.7346, allocations: 1.594 MB / 0.6905 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.735, allocations: 246.9 kB / 0.6908 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006598/0.7356, allocations: 285 kB / 0.691 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.7385, allocations: 1.675 MB / 0.6927 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.7386, allocations: 0 / 0.6927 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7386, allocations: 0 / 0.6927 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.7386, allocations: 0 / 0.6927 GB, free: 6.992 MB / 0.4981 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.003606/0.7422, allocations: 1.66 MB / 0.6943 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.7423, allocations: 16.02 kB / 0.6943 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002628/0.7426, allocations: 177.6 kB / 0.6945 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.7428, allocations: 150.2 kB / 0.6946 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.7441, allocations: 0.7009 MB / 0.6953 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.7442, allocations: 94.41 kB / 0.6954 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.7444, allocations: 116 kB / 0.6955 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.747, allocations: 1.532 MB / 0.697 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.7471, allocations: 3.938 kB / 0.697 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.7472, allocations: 48 kB / 0.697 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.7472, allocations: 32 kB / 0.6971 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.75, allocations: 1.672 MB / 0.6987 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007573/0.7576, allocations: 6.213 MB / 0.7048 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.7599, allocations: 1.311 MB / 0.7061 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.761, allocations: 0.7036 MB / 0.7067 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00501/0.7661, allocations: 4.018 MB / 0.7107 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.7674, allocations: 0.7472 MB / 0.7114 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=128): time 3.566e-06/0.7674, allocations: 0 / 0.7114 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129): time 0.007233/0.7747, allocations: 3.954 MB / 0.7153 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.7748, allocations: 72.64 kB / 0.7153 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.7755, allocations: 0.5708 MB / 0.7159 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.7756, allocations: 53.7 kB / 0.7159 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.7759, allocations: 472.5 kB / 0.7164 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.7763, allocations: 441.5 kB / 0.7168 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.7763, allocations: 24 kB / 0.7168 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7765, allocations: 349.9 kB / 0.7172 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008944/0.7774, allocations: 0.514 MB / 0.7177 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009976/0.7784, allocations: 0.6329 MB / 0.7183 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7794, allocations: 0.6133 MB / 0.7189 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7795, allocations: 0 / 0.7189 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002785/0.7822, allocations: 1.595 MB / 0.7204 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.7823, allocations: 29.7 kB / 0.7205 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7823, allocations: 4 kB / 0.7205 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/0.7828, allocations: 160.7 kB / 0.7206 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/0.7837, allocations: 263.6 kB / 0.7209 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.7876, allocations: 2.522 MB / 0.7233 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.7887, allocations: 95.81 kB / 0.7234 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7889, allocations: 51.98 kB / 0.7235 GB, free: 5.859 MB / 0.5294 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.00055/0.7894, allocations: 285.5 kB / 0.7237 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.7896, allocations: 102.7 kB / 0.7238 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/0.7938, allocations: 2.329 MB / 0.7261 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.7938, allocations: 15.98 kB / 0.7261 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.7939, allocations: 4 kB / 0.7261 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.7939, allocations: 3.984 kB / 0.7261 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.7994, allocations: 3.396 MB / 0.7295 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7995, allocations: 0 / 0.7295 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/0.8004, allocations: 271.6 kB / 0.7297 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.8009, allocations: 144.8 kB / 0.7299 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/0.801, allocations: 47.94 kB / 0.7299 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.8034, allocations: 2.221 MB / 0.7321 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.8035, allocations: 11.86 kB / 0.7321 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.8077, allocations: 2.598 MB / 0.7346 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.8081, allocations: 179.7 kB / 0.7348 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.8082, allocations: 28 kB / 0.7348 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.8089, allocations: 99.78 kB / 0.7349 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.8091, allocations: 121.1 kB / 0.735 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.8093, allocations: 55.98 kB / 0.7351 GB, free: 9.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000503/0.8098, allocations: 427 kB / 0.7355 GB, free: 9.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8098, allocations: 4 kB / 0.7355 GB, free: 9.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001588/0.8114, allocations: 0.5037 MB / 0.736 GB, free: 8.793 MB / 0.545 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.005563/0.817, allocations: 3.624 MB / 0.7395 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003018/0.82, allocations: 1.634 MB / 0.7411 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.8201, allocations: 8.125 kB / 0.7411 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.822, allocations: 1.006 MB / 0.7421 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.8239, allocations: 343.2 kB / 0.7424 GB, free: 2.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.8378, allocations: 7.299 MB / 0.7496 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/0.8388, allocations: 1.137 MB / 0.7507 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001182/0.84, allocations: 333.9 kB / 0.751 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007926/0.8408, allocations: 0.5071 MB / 0.7515 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.8408, allocations: 0 / 0.7515 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05975/0.9006, allocations: 34.39 MB / 0.7851 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.9008, allocations: 218.4 kB / 0.7853 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/3.894, allocations: 0 / 0.7853 GB, free: 6.301 MB / 0.5919 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