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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 106.1 kB / 16.27 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 188.4 kB / 17.2 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8966/0.8966, allocations: 125.4 MB / 416.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001977, allocations: 71.88 kB / 0.4941 GB, free: 4.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 78.55 MB / 0.5709 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01572/0.3909, allocations: 17.46 MB / 0.5879 GB, free: 18.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0066/0.3976, allocations: 4.906 MB / 0.5927 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009672/0.3986, allocations: 13.56 kB / 0.5927 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009921/0.3996, allocations: 256 kB / 0.593 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.4013, allocations: 0.607 MB / 0.5936 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.4033, allocations: 0.7237 MB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.4047, allocations: 0.9666 MB / 0.5952 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.4053, allocations: 339.8 kB / 0.5955 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.4064, allocations: 469.9 kB / 0.596 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.4068, allocations: 312.1 kB / 0.5963 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.4069, allocations: 29.28 kB / 0.5963 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.4086, allocations: 0.7184 MB / 0.597 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.4088, allocations: 132.3 kB / 0.5971 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.409, allocations: 240.9 kB / 0.5974 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.4103, allocations: 0.8681 MB / 0.5982 GB, free: 11.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4103, allocations: 0.625 kB / 0.5982 GB, free: 11.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4103, allocations: 1.031 kB / 0.5982 GB, free: 11.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.4103, allocations: 0.5 kB / 0.5982 GB, free: 11.02 MB / 446.1 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.001103/0.4114, allocations: 0.8865 MB / 0.5991 GB, free: 10.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4115, allocations: 9.656 kB / 0.5991 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.4117, allocations: 62.44 kB / 0.5991 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.4122, allocations: 446.5 kB / 0.5996 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4122, allocations: 24.41 kB / 0.5996 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.4123, allocations: 28.16 kB / 0.5996 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.4127, allocations: 279.3 kB / 0.5999 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4128, allocations: 0 / 0.5999 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.4128, allocations: 11.09 kB / 0.5999 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4128, allocations: 13.25 kB / 0.5999 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.4132, allocations: 191.6 kB / 0.6001 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.4146, allocations: 1.476 MB / 0.6015 GB, free: 7.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.4149, allocations: 169.7 kB / 0.6017 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.4151, allocations: 84.8 kB / 0.6018 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.4164, allocations: 1.28 MB / 0.603 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.4164, allocations: 30.56 kB / 0.6031 GB, free: 6.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.4164, allocations: 0 / 0.6031 GB, free: 6.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005855/0.417, allocations: 246.9 kB / 0.6033 GB, free: 5.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.417, allocations: 63.28 kB / 0.6033 GB, free: 5.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.4175, allocations: 0.5847 MB / 0.6039 GB, free: 5.238 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4175, allocations: 33.7 kB / 0.604 GB, free: 5.199 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.4177, allocations: 264.1 kB / 0.6042 GB, free: 4.934 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.4177, allocations: 59.19 kB / 0.6043 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.4178, allocations: 69.88 kB / 0.6043 GB, free: 4.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.4179, allocations: 358.8 kB / 0.6047 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.4181, allocations: 81.94 kB / 0.6047 GB, free: 4.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.4183, allocations: 210.7 kB / 0.6049 GB, free: 4.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.4186, allocations: 239.1 kB / 0.6052 GB, free: 3.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4186, allocations: 0 / 0.6052 GB, free: 3.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004963/0.4191, allocations: 320.9 kB / 0.6055 GB, free: 3.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4192, allocations: 11.94 kB / 0.6055 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4192, allocations: 0 / 0.6055 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4192, allocations: 4 kB / 0.6055 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.4194, allocations: 67.89 kB / 0.6056 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4195, allocations: 4 kB / 0.6056 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.4198, allocations: 39.67 kB / 0.6056 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.4198, allocations: 15.98 kB / 0.6056 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002556/0.4201, allocations: 216.7 kB / 0.6058 GB, free: 3.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002119/0.4203, allocations: 209.5 kB / 0.606 GB, free: 2.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003055/0.4206, allocations: 231.5 kB / 0.6062 GB, free: 2.652 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.4206, allocations: 4 kB / 0.6062 GB, free: 2.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004869/0.4211, allocations: 312.8 kB / 0.6065 GB, free: 2.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.4211, allocations: 10.19 kB / 0.6066 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4211, allocations: 4 kB / 0.6066 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.4211, allocations: 4 kB / 0.6066 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.4213, allocations: 55.91 kB / 0.6066 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4213, allocations: 4 kB / 0.6066 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.4217, allocations: 39.81 kB / 0.6067 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.4217, allocations: 12 kB / 0.6067 GB, free: 2.211 MB / 446.1 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 7.34e-05/0.4218, allocations: 208.2 kB / 0.6069 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.4218, allocations: 51.28 kB / 0.6069 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.4223, allocations: 262.8 kB / 0.6072 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.4223, allocations: 8 kB / 0.6072 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4223, allocations: 4.078 kB / 0.6072 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4224, allocations: 11.88 kB / 0.6072 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.4232, allocations: 0.7249 MB / 0.6079 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4232, allocations: 4 kB / 0.6079 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.4233, allocations: 28.05 kB / 0.6079 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4233, allocations: 8 kB / 0.6079 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4233, allocations: 8 kB / 0.6079 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4233, allocations: 7.984 kB / 0.608 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4233, allocations: 4 kB / 0.608 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.4237, allocations: 356 kB / 0.6083 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4238, allocations: 148.4 kB / 0.6084 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.4239, allocations: 0 / 0.6084 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.4241, allocations: 15.98 kB / 0.6085 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.4242, allocations: 12.11 kB / 0.6085 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.4242, allocations: 12 kB / 0.6085 GB, free: 240 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004226/0.4246, allocations: 418.8 kB / 0.6089 GB, free: 15.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4246, allocations: 0 / 0.6089 GB, free: 15.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008191/0.4255, allocations: 227.7 kB / 0.6091 GB, free: 15.6 MB / 462.1 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.001591/0.4271, allocations: 497.3 kB / 0.6096 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.4278, allocations: 336.2 kB / 0.6099 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4278, allocations: 0 / 0.6099 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4281, allocations: 88.64 kB / 0.61 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.4293, allocations: 251.7 kB / 0.6102 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.4306, allocations: 0.817 MB / 0.611 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.4311, allocations: 0.8545 MB / 0.6118 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000347/0.4315, allocations: 103.3 kB / 0.6119 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.4316, allocations: 39.42 kB / 0.612 GB, free: 12.75 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4316, allocations: 0 / 0.612 GB, free: 12.75 MB / 462.1 MB Notification: Performance of Templates: time 0.01851/0.4501, allocations: 10.19 MB / 0.6219 GB, free: 2.715 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)