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.001075/0.001075, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001134/0.001134, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.6267/0.6267, allocations: 115 MB / 375.7 MB, free: 7.66 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.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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.196e-05, allocations: 8.484 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.007592/0.007624, allocations: 7.539 MB / 489.1 MB, free: 6.828 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.01164, allocations: 3.118 MB / 492.2 MB, free: 4.801 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.01221, allocations: 23.66 kB / 492.2 MB, free: 4.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.01299, allocations: 195.5 kB / 492.4 MB, free: 4.691 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.0141, allocations: 0.4897 MB / 492.9 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.01585, allocations: 0.7465 MB / 493.6 MB, free: 4.047 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.01736, allocations: 0.959 MB / 494.6 MB, free: 3.594 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006726/0.01803, allocations: 284.7 kB / 494.9 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.01908, allocations: 472.5 kB / 495.3 MB, free: 3.227 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.01978, allocations: 268.3 kB / 495.6 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.0199, allocations: 29.97 kB / 495.6 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.02126, allocations: 0.5315 MB / 496.1 MB, free: 3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.02141, allocations: 141.8 kB / 496.3 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.0216, allocations: 163.2 kB / 496.4 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.02282, allocations: 0.6947 MB / 497.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.02283, allocations: 1.188 kB / 497.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.02283, allocations: 3.125 kB / 497.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.02285, allocations: 0 / 497.1 MB, free: 2.586 MB / 410.7 MB 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.001094/0.02394, allocations: 0.9048 MB / 498 MB, free: 1.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.02398, allocations: 10.56 kB / 498.1 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.02418, allocations: 81.59 kB / 498.1 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.02466, allocations: 404.1 kB / 498.5 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.02469, allocations: 20.22 kB / 498.6 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.02473, allocations: 28.97 kB / 498.6 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.0251, allocations: 250.8 kB / 498.8 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.02511, allocations: 0.75 kB / 498.8 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.02513, allocations: 11.41 kB / 498.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.02514, allocations: 6.594 kB / 498.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.0253, allocations: 95.69 kB / 498.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.0266, allocations: 1.37 MB / 0.4886 GB, free: 16.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.0268, allocations: 104 kB / 0.4887 GB, free: 16.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.02687, allocations: 42.58 kB / 0.4887 GB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/0.02769, allocations: 0.5727 MB / 0.4893 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.02771, allocations: 40.89 kB / 0.4893 GB, free: 15.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.02771, allocations: 0 / 0.4893 GB, free: 15.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003249/0.02804, allocations: 163.5 kB / 0.4895 GB, free: 15.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.02806, allocations: 57.66 kB / 0.4895 GB, free: 15.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.02854, allocations: 0.5201 MB / 0.49 GB, free: 15.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.02856, allocations: 32.55 kB / 0.4901 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.02875, allocations: 324.7 kB / 0.4904 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.02879, allocations: 60.75 kB / 0.4904 GB, free: 15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.02888, allocations: 73.95 kB / 0.4905 GB, free: 14.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.02905, allocations: 0.5342 MB / 0.491 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.02913, allocations: 40.7 kB / 0.4911 GB, free: 14.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.02937, allocations: 430.8 kB / 0.4915 GB, free: 13.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.02957, allocations: 186 kB / 0.4917 GB, free: 13.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.02958, allocations: 2.438 kB / 0.4917 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003392/0.02991, allocations: 244.1 kB / 0.4919 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.02994, allocations: 11.84 kB / 0.4919 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.02994, allocations: 4.734 kB / 0.4919 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.02996, allocations: 4.438 kB / 0.4919 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.03013, allocations: 61.92 kB / 0.492 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.03014, allocations: 7.938 kB / 0.492 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.03028, allocations: 35.59 kB / 0.492 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.03031, allocations: 16.53 kB / 0.492 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001309/0.03044, allocations: 165.2 kB / 0.4922 GB, free: 13.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002156/0.03065, allocations: 426.2 kB / 0.4926 GB, free: 13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001827/0.03084, allocations: 188.7 kB / 0.4928 GB, free: 12.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.03084, allocations: 1.188 kB / 0.4928 GB, free: 12.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002999/0.03114, allocations: 242.5 kB / 0.493 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.03115, allocations: 6.406 kB / 0.493 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.03115, allocations: 3.25 kB / 0.493 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.03116, allocations: 8.422 kB / 0.493 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.03128, allocations: 59 kB / 0.4931 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.03129, allocations: 4.25 kB / 0.4931 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.03143, allocations: 33.3 kB / 0.4931 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.03144, allocations: 12.39 kB / 0.4931 GB, free: 12.7 MB / 426.7 MB 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.000117/0.03156, allocations: 283.2 kB / 0.4934 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.03162, allocations: 55.48 kB / 0.4934 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.03193, allocations: 189.6 kB / 0.4936 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.03194, allocations: 3.5 kB / 0.4936 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.03195, allocations: 0 / 0.4936 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.03195, allocations: 5.203 kB / 0.4936 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.03262, allocations: 0.6248 MB / 0.4942 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.03263, allocations: 2.875 kB / 0.4943 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.03271, allocations: 25.45 kB / 0.4943 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.03271, allocations: 2 kB / 0.4943 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.03272, allocations: 8.859 kB / 0.4943 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.03273, allocations: 6.781 kB / 0.4943 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.03273, allocations: 1.312 kB / 0.4943 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.033, allocations: 346 kB / 0.4946 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.03309, allocations: 68.48 kB / 0.4947 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.03312, allocations: 6.234 kB / 0.4947 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.03321, allocations: 7.766 kB / 0.4947 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.03326, allocations: 20.33 kB / 0.4947 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.03327, allocations: 6.094 kB / 0.4947 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.03356, allocations: 341.7 kB / 0.4951 GB, free: 11.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03356, allocations: 0.7188 kB / 0.4951 GB, free: 11.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005899/0.03415, allocations: 227.4 kB / 0.4953 GB, free: 11.27 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 (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.0009279/0.03508, allocations: 428.2 kB / 0.4957 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.03545, allocations: 225.2 kB / 0.4959 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03545, allocations: 5.062 kB / 0.4959 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.03553, allocations: 57.92 kB / 0.496 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.03625, allocations: 225.1 kB / 0.4962 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.03766, allocations: 0.7431 MB / 0.4969 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.702e-05/0.03776, allocations: 123.6 kB / 0.497 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.03801, allocations: 92.23 kB / 0.4971 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.03808, allocations: 41.02 kB / 0.4971 GB, free: 10.38 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.03808, allocations: 0.5312 kB / 0.4971 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Templates: time 0.01295/0.05104, allocations: 9.497 MB / 0.5064 GB, free: 2.727 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.012262431904674]