Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.001335/0.001335, allocations: 107 kB / 18.67 MB, free: 3.191 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.005354/0.005354, allocations: 194.8 kB / 21.93 MB, free: 5.59 MB / 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.458/1.458, allocations: 225.6 MB / 250.6 MB, free: 13.36 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.7129/0.7129, allocations: 94.59 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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.25 kB / 0.5464 GB, free: 42.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09582, allocations: 71.86 MB / 0.6166 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04828/0.1441, allocations: 45.79 MB / 0.6613 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.1595, allocations: 12.38 MB / 0.6734 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.1606, allocations: 55.69 kB / 0.6734 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.1628, allocations: 1.154 MB / 0.6746 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.1672, allocations: 2.09 MB / 0.6766 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.1699, allocations: 1.183 MB / 0.6778 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.1731, allocations: 2.821 MB / 0.6805 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.1736, allocations: 281.6 kB / 0.6808 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.1756, allocations: 1.421 MB / 0.6822 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.1769, allocations: 1.116 MB / 0.6833 GB, free: 4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.1771, allocations: 136 kB / 0.6834 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.18, allocations: 1.19 MB / 0.6846 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004317/0.1804, allocations: 438 kB / 0.685 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009805/0.1814, allocations: 0.9595 MB / 0.6859 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.1856, allocations: 2.906 MB / 0.6888 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1856, allocations: 0 / 0.6888 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1856, allocations: 0 / 0.6888 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.1856, allocations: 0 / 0.6888 GB, free: 14.36 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004438/0.1901, allocations: 2.538 MB / 0.6912 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1901, allocations: 16.03 kB / 0.6912 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.1905, allocations: 235.4 kB / 0.6915 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.1927, allocations: 1.367 MB / 0.6928 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.1927, allocations: 98.97 kB / 0.6929 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.1929, allocations: 139.9 kB / 0.693 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.1954, allocations: 1.493 MB / 0.6945 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.1955, allocations: 0 / 0.6945 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.1956, allocations: 52 kB / 0.6945 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.1956, allocations: 32 kB / 0.6946 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/0.1983, allocations: 1.56 MB / 0.6961 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007441/0.2057, allocations: 6.253 MB / 0.7022 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.2079, allocations: 1.204 MB / 0.7034 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.209, allocations: 0.6164 MB / 0.704 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005677/0.2147, allocations: 4.585 MB / 0.7085 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.216, allocations: 0.677 MB / 0.7091 GB, free: 8.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.276e-06/0.216, allocations: 4 kB / 0.7091 GB, free: 8.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004437/0.2204, allocations: 2.129 MB / 0.7112 GB, free: 5.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2205, allocations: 64.72 kB / 0.7113 GB, free: 5.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.2221, allocations: 1.301 MB / 0.7125 GB, free: 4.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-05/0.2222, allocations: 49.7 kB / 0.7126 GB, free: 4.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.2228, allocations: 0.707 MB / 0.7133 GB, free: 3.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.2232, allocations: 491.7 kB / 0.7137 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.2236, allocations: 250.8 kB / 0.714 GB, free: 3.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2237, allocations: 357.9 kB / 0.7143 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.2247, allocations: 462.4 kB / 0.7148 GB, free: 2.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.2258, allocations: 0.624 MB / 0.7154 GB, free: 1.562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.2279, allocations: 1.163 MB / 0.7165 GB, free: 364 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2279, allocations: 0 / 0.7165 GB, free: 364 kB / 0.545 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003031/0.2309, allocations: 1.538 MB / 0.718 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.231, allocations: 33.7 kB / 0.718 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.231, allocations: 4 kB / 0.718 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.2314, allocations: 109.6 kB / 0.7181 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.2324, allocations: 275.7 kB / 0.7184 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.2354, allocations: 3.224 MB / 0.7216 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.2361, allocations: 123.1 kB / 0.7217 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.2362, allocations: 60.05 kB / 0.7217 GB, free: 10.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006339/0.2368, allocations: 397.3 kB / 0.7221 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.2371, allocations: 178.8 kB / 0.7223 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.2414, allocations: 2.283 MB / 0.7245 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.2414, allocations: 7.969 kB / 0.7245 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2414, allocations: 0 / 0.7245 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/0.2421, allocations: 487.1 kB / 0.725 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.2423, allocations: 28 kB / 0.725 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.2429, allocations: 43.97 kB / 0.7251 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.2431, allocations: 125.1 kB / 0.7252 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003434/0.2465, allocations: 1.62 MB / 0.7268 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004102/0.2506, allocations: 2.384 MB / 0.7291 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001059/0.2517, allocations: 0.6037 MB / 0.7297 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00119/0.2528, allocations: 0.911 MB / 0.7306 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of Backend: time 3.11e-07/0.2528, allocations: 0 / 0.7306 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005036/0.2579, allocations: 2.078 MB / 0.7326 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005183/0.2631, allocations: 3.565 MB / 0.7361 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.4406/0.7036, allocations: 32.92 MB / 0.7682 GB, free: 117.6 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 7.076912630000152] Failed to read output from testmodel.py, exit status != 0: 0.7108048530062661 0.720726028 0.5328196660000001 Calling exit ...