Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 75.05 kB / 20.51 MB, free: 1.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 165.9 kB / 23.77 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.2 MB / 204.1 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9342/0.9342, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 66.55 kB / 0.555 GB, free: 2.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1648, allocations: 89.15 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01948/0.1843, allocations: 16.32 MB / 0.658 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008974/0.1932, allocations: 4.663 MB / 0.6626 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.1938, allocations: 31.75 kB / 0.6626 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000895/0.1947, allocations: 262.3 kB / 0.6629 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.1965, allocations: 0.6647 MB / 0.6635 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.1986, allocations: 0.7504 MB / 0.6643 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.2, allocations: 0.9781 MB / 0.6652 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.2005, allocations: 285.6 kB / 0.6655 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009146/0.2014, allocations: 490 kB / 0.666 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.2019, allocations: 306.6 kB / 0.6662 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.2019, allocations: 28 kB / 0.6663 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.2032, allocations: 0.6122 MB / 0.6669 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.2033, allocations: 139.4 kB / 0.667 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.2036, allocations: 194.9 kB / 0.6672 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.2049, allocations: 0.8756 MB / 0.668 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2049, allocations: 0 / 0.668 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2049, allocations: 0 / 0.668 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.2049, allocations: 3.938 kB / 0.6681 GB, free: 14.88 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001344/0.2062, allocations: 0.8189 MB / 0.6688 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2063, allocations: 12.03 kB / 0.6689 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2064, allocations: 60.56 kB / 0.6689 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.2072, allocations: 414 kB / 0.6693 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2072, allocations: 20.5 kB / 0.6693 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.2073, allocations: 28 kB / 0.6694 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.2078, allocations: 289.2 kB / 0.6696 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2078, allocations: 0 / 0.6696 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2079, allocations: 15.98 kB / 0.6697 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2079, allocations: 7.938 kB / 0.6697 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.2083, allocations: 189.8 kB / 0.6698 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.2101, allocations: 1.163 MB / 0.671 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.2104, allocations: 154.7 kB / 0.6711 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.2106, allocations: 76.8 kB / 0.6712 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.2118, allocations: 0.5389 MB / 0.6717 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.2119, allocations: 34.56 kB / 0.6718 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2119, allocations: 0 / 0.6718 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006659/0.2125, allocations: 252.1 kB / 0.672 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2126, allocations: 55.41 kB / 0.672 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.2132, allocations: 0.5605 MB / 0.6726 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2133, allocations: 29.7 kB / 0.6726 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.2135, allocations: 280.3 kB / 0.6729 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.2136, allocations: 55.59 kB / 0.6729 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2137, allocations: 65.94 kB / 0.673 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2138, allocations: 358.8 kB / 0.6734 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.214, allocations: 77.94 kB / 0.6734 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.2145, allocations: 446 kB / 0.6738 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.2149, allocations: 235.8 kB / 0.6741 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2149, allocations: 0 / 0.6741 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006276/0.2155, allocations: 323.5 kB / 0.6744 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2156, allocations: 8 kB / 0.6744 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2156, allocations: 0 / 0.6744 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2156, allocations: 4 kB / 0.6744 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2158, allocations: 63.91 kB / 0.6745 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2159, allocations: 4 kB / 0.6745 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.2162, allocations: 43.75 kB / 0.6745 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.2162, allocations: 16 kB / 0.6745 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003247/0.2165, allocations: 224 kB / 0.6747 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004744/0.217, allocations: 445.7 kB / 0.6752 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004216/0.2174, allocations: 229.4 kB / 0.6754 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.2174, allocations: 4 kB / 0.6754 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005993/0.218, allocations: 302.8 kB / 0.6757 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.218, allocations: 11.92 kB / 0.6757 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2181, allocations: 8.25 kB / 0.6757 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.2181, allocations: 8 kB / 0.6757 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.2183, allocations: 63.91 kB / 0.6758 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2183, allocations: 7.938 kB / 0.6758 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.2186, allocations: 35.86 kB / 0.6758 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.2187, allocations: 16 kB / 0.6758 GB, free: 6.414 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.2188, allocations: 200.1 kB / 0.676 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.2189, allocations: 55.61 kB / 0.6761 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.2195, allocations: 253.4 kB / 0.6763 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2195, allocations: 0 / 0.6763 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2195, allocations: 4 kB / 0.6763 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2195, allocations: 0 / 0.6763 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2206, allocations: 0.6379 MB / 0.6769 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2206, allocations: 8.031 kB / 0.6769 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2207, allocations: 35.91 kB / 0.677 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2207, allocations: 0 / 0.677 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2207, allocations: 8 kB / 0.677 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2207, allocations: 0 / 0.677 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2207, allocations: 4 kB / 0.677 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.2213, allocations: 356.8 kB / 0.6773 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2214, allocations: 71.61 kB / 0.6774 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.2214, allocations: 4 kB / 0.6774 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.2216, allocations: 19.92 kB / 0.6774 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.2217, allocations: 11.92 kB / 0.6774 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2217, allocations: 12 kB / 0.6774 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004626/0.2222, allocations: 402.8 kB / 0.6778 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2222, allocations: 0 / 0.6778 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000784/0.2229, allocations: 239.5 kB / 0.678 GB, free: 4.031 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001716/0.2247, allocations: 0.5024 MB / 0.6785 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008374/0.2255, allocations: 304.4 kB / 0.6788 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2255, allocations: 0 / 0.6788 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.2257, allocations: 83.89 kB / 0.6789 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.2269, allocations: 219.8 kB / 0.6791 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2285, allocations: 0.8287 MB / 0.6799 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.2288, allocations: 246.1 kB / 0.6802 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002844/0.2291, allocations: 96.06 kB / 0.6802 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.2291, allocations: 44.42 kB / 0.6803 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.2291, allocations: 0 / 0.6803 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of Templates: time 0.01905/0.2482, allocations: 10.2 MB / 0.6903 GB, free: 7.84 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.012254423927516] Failed to read output from testmodel.py, exit status != 0: 0.2572648379718885 0.5732915479999999 0.36522812000000004 Calling exit ...