Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001424/0.001424, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001977/0.001977, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 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.079/1.079, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.6355/0.6355, allocations: 115 MB / 376 MB, free: 7.641 MB / 346.7 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.177e-05, allocations: 2.312 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01239/0.01243, allocations: 16.06 MB / 497.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005282/0.01771, allocations: 4.458 MB / 0.4903 GB, free: 14.36 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005613/0.01827, allocations: 26.53 kB / 0.4903 GB, free: 14.35 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008949/0.01916, allocations: 259.4 kB / 0.4905 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.02054, allocations: 0.6907 MB / 0.4912 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.0221, allocations: 0.7308 MB / 0.4919 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.02337, allocations: 1.008 MB / 0.4929 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.02385, allocations: 272.8 kB / 0.4932 GB, free: 12.81 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009913/0.02484, allocations: 0.5906 MB / 0.4938 GB, free: 12.56 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.02533, allocations: 275.8 kB / 0.494 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.0254, allocations: 28.66 kB / 0.494 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.02641, allocations: 0.5354 MB / 0.4946 GB, free: 12.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.02653, allocations: 108.6 kB / 0.4947 GB, free: 12.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.02671, allocations: 147.7 kB / 0.4948 GB, free: 12.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.02794, allocations: 0.6554 MB / 0.4954 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02794, allocations: 0 / 0.4954 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02795, allocations: 0 / 0.4954 GB, free: 11.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.02796, allocations: 0 / 0.4954 GB, free: 11.95 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001219/0.02918, allocations: 0.8603 MB / 0.4963 GB, free: 11.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02922, allocations: 13.38 kB / 0.4963 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.02937, allocations: 74.14 kB / 0.4964 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.02989, allocations: 376.7 kB / 0.4967 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.02992, allocations: 19.69 kB / 0.4968 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.02996, allocations: 27.47 kB / 0.4968 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.03025, allocations: 162.6 kB / 0.4969 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.03025, allocations: 0 / 0.4969 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.03027, allocations: 9.969 kB / 0.4969 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.03028, allocations: 6.875 kB / 0.4969 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.03043, allocations: 73.31 kB / 0.497 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.03159, allocations: 0.7405 MB / 0.4977 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.03176, allocations: 85.73 kB / 0.4978 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.03182, allocations: 39.14 kB / 0.4979 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.03195, allocations: 38.61 kB / 0.4979 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.03197, allocations: 34.52 kB / 0.4979 GB, free: 10.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.542e-06/0.03197, allocations: 4.594 kB / 0.4979 GB, free: 10.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003034/0.03228, allocations: 154 kB / 0.4981 GB, free: 10.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.03231, allocations: 53.53 kB / 0.4981 GB, free: 10.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.03269, allocations: 440.3 kB / 0.4986 GB, free: 9.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.03272, allocations: 31.95 kB / 0.4986 GB, free: 9.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.03288, allocations: 279.2 kB / 0.4988 GB, free: 9.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.03291, allocations: 56.36 kB / 0.4989 GB, free: 9.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.03299, allocations: 61.89 kB / 0.499 GB, free: 9.535 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.03314, allocations: 0.5273 MB / 0.4995 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.03322, allocations: 37.7 kB / 0.4995 GB, free: 9.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.03344, allocations: 381.9 kB / 0.4999 GB, free: 8.574 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.03359, allocations: 94.77 kB / 0.5 GB, free: 8.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.03359, allocations: 0 / 0.5 GB, free: 8.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002742/0.03387, allocations: 186.4 kB / 0.5001 GB, free: 8.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.03388, allocations: 4 kB / 0.5001 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.03389, allocations: 0.6094 kB / 0.5001 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.03391, allocations: 4 kB / 0.5002 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.03405, allocations: 46.34 kB / 0.5002 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.03406, allocations: 0.7031 kB / 0.5002 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.03419, allocations: 26.28 kB / 0.5002 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.03421, allocations: 9.453 kB / 0.5002 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001157/0.03433, allocations: 160 kB / 0.5004 GB, free: 8.137 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001806/0.03451, allocations: 399.7 kB / 0.5008 GB, free: 7.652 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001216/0.03463, allocations: 113.7 kB / 0.5009 GB, free: 7.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.03463, allocations: 3.938 kB / 0.5009 GB, free: 7.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002395/0.03487, allocations: 183.9 kB / 0.5011 GB, free: 7.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.03488, allocations: 8 kB / 0.5011 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.03488, allocations: 1.938 kB / 0.5011 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.03489, allocations: 4.703 kB / 0.5011 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.035, allocations: 45.89 kB / 0.5011 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.035, allocations: 4.797 kB / 0.5011 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.03513, allocations: 19 kB / 0.5011 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.03514, allocations: 13.34 kB / 0.5011 GB, free: 7.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001173/0.03526, allocations: 285.2 kB / 0.5014 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.03531, allocations: 45.72 kB / 0.5015 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.0356, allocations: 178.4 kB / 0.5016 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.03561, allocations: 1.75 kB / 0.5016 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.03561, allocations: 0 / 0.5016 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.706e-05/0.03569, allocations: 1.312 kB / 0.5016 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.03631, allocations: 0.6008 MB / 0.5022 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.03631, allocations: 1.219 kB / 0.5022 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.03638, allocations: 28.16 kB / 0.5023 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.03639, allocations: 4 kB / 0.5023 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.0364, allocations: 9.5 kB / 0.5023 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.0364, allocations: 0.6094 kB / 0.5023 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.03641, allocations: 0 / 0.5023 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.03665, allocations: 341.7 kB / 0.5026 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.03673, allocations: 60.48 kB / 0.5026 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.03676, allocations: 8.516 kB / 0.5027 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.03685, allocations: 6.5 kB / 0.5027 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.0369, allocations: 21.61 kB / 0.5027 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.03691, allocations: 8.75 kB / 0.5027 GB, free: 5.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.03713, allocations: 291.5 kB / 0.503 GB, free: 5.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03713, allocations: 0 / 0.503 GB, free: 5.473 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000545/0.03768, allocations: 206.9 kB / 0.5032 GB, free: 5.273 MB / 426.7 MB 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 (16): * Single equations (assignments): 14 * 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.001088/0.03877, allocations: 464.2 kB / 0.5036 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.03908, allocations: 163.1 kB / 0.5038 GB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03908, allocations: 0 / 0.5038 GB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.03916, allocations: 58.36 kB / 0.5038 GB, free: 4.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.03978, allocations: 174.1 kB / 0.504 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.04106, allocations: 0.6807 MB / 0.5047 GB, free: 3.988 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.04114, allocations: 110.9 kB / 0.5048 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.04137, allocations: 78.7 kB / 0.5048 GB, free: 3.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.04143, allocations: 38.92 kB / 0.5049 GB, free: 3.793 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.04143, allocations: 0 / 0.5049 GB, free: 3.793 MB / 426.7 MB Notification: Performance of Templates: time 0.0115/0.05293, allocations: 8.318 MB / 0.513 GB, free: 12.39 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.000323008978739]