Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 113.2 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 250.6 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7337/0.7337, allocations: 94.6 MB / 400.4 MB, free: 15.8 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 83.94 kB / 0.5464 GB, free: 42.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1035, allocations: 71.85 MB / 0.6166 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.4673/0.5708, allocations: 174.3 MB / 0.7868 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.582, allocations: 11.04 MB / 0.7976 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.5835, allocations: 49.94 kB / 0.7976 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.5854, allocations: 0.8119 MB / 0.7984 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.5892, allocations: 1.691 MB / 0.8001 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.5918, allocations: 1.118 MB / 0.8012 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.5942, allocations: 2.527 MB / 0.8036 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.5946, allocations: 292.7 kB / 0.8039 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.596, allocations: 1.057 MB / 0.805 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.5974, allocations: 1.39 MB / 0.8063 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.5976, allocations: 143.9 kB / 0.8064 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.6013, allocations: 1.968 MB / 0.8084 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.6015, allocations: 366.6 kB / 0.8087 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007298/0.6022, allocations: 0.807 MB / 0.8095 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.6058, allocations: 2.602 MB / 0.812 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6058, allocations: 2.625 kB / 0.812 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6058, allocations: 4.281 kB / 0.8121 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.6058, allocations: 0 / 0.8121 GB, free: 1.508 MB / 0.5762 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.003637/0.6095, allocations: 2.089 MB / 0.8141 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6095, allocations: 7.75 kB / 0.8141 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.6098, allocations: 176.1 kB / 0.8143 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.6112, allocations: 0.9911 MB / 0.8152 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.6112, allocations: 87.41 kB / 0.8153 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.6114, allocations: 121 kB / 0.8154 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.6138, allocations: 1.529 MB / 0.8169 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.6138, allocations: 2.953 kB / 0.8169 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.614, allocations: 47.03 kB / 0.817 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.614, allocations: 30.69 kB / 0.817 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.6167, allocations: 1.665 MB / 0.8186 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007321/0.624, allocations: 6.234 MB / 0.8247 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.6263, allocations: 1.188 MB / 0.8259 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.6274, allocations: 0.6278 MB / 0.8265 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005198/0.6326, allocations: 4.024 MB / 0.8304 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.6339, allocations: 0.7356 MB / 0.8311 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=128): time 3.406e-06/0.6339, allocations: 1.125 kB / 0.8311 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=129): time 0.007606/0.6415, allocations: 3.984 MB / 0.835 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.6415, allocations: 66.25 kB / 0.8351 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.6424, allocations: 0.7087 MB / 0.8358 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.6424, allocations: 52.02 kB / 0.8358 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.6429, allocations: 0.5286 MB / 0.8364 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.6433, allocations: 465.3 kB / 0.8368 GB, free: 416 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.6436, allocations: 202.3 kB / 0.837 GB, free: 300 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6438, allocations: 347.9 kB / 0.8373 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.6448, allocations: 0.5176 MB / 0.8378 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.646, allocations: 0.6244 MB / 0.8384 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.6483, allocations: 1.246 MB / 0.8397 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6483, allocations: 0 / 0.8397 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003267/0.6516, allocations: 1.593 MB / 0.8412 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.6516, allocations: 33.7 kB / 0.8412 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.6517, allocations: 4 kB / 0.8412 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/0.6522, allocations: 159.5 kB / 0.8414 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.6532, allocations: 241.1 kB / 0.8416 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.6575, allocations: 2.721 MB / 0.8443 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.6582, allocations: 48.75 kB / 0.8443 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.6584, allocations: 60.81 kB / 0.8444 GB, free: 9.406 MB / 0.6075 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005719/0.6589, allocations: 297 kB / 0.8447 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.6592, allocations: 120.2 kB / 0.8448 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.6638, allocations: 2.319 MB / 0.8471 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/0.6638, allocations: 7.969 kB / 0.8471 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6638, allocations: 0.9375 kB / 0.8471 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.6641, allocations: 188.9 kB / 0.8472 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6643, allocations: 31.95 kB / 0.8473 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.6648, allocations: 48.8 kB / 0.8473 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.665, allocations: 118 kB / 0.8474 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003936/0.669, allocations: 1.768 MB / 0.8492 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004609/0.6736, allocations: 2.563 MB / 0.8517 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001235/0.6748, allocations: 0.6607 MB / 0.8523 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007317/0.6755, allocations: 0.5115 MB / 0.8528 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of Backend: time 5.71e-07/0.6755, allocations: 4.75 kB / 0.8528 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003822/0.6794, allocations: 1.647 MB / 0.8544 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004357/0.6837, allocations: 2.798 MB / 0.8571 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.0525/0.7362, allocations: 29.77 MB / 0.8862 GB, free: 14.93 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 6.774814139993396] Failed to read output from testmodel.py, exit status != 0: 0.7440358140156604 0.7598329149999999 0.150819863 Calling exit ...