Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 181.1 kB / 16.92 MB, free: 6.914 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.484/1.484, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7671/0.7671, allocations: 115.4 MB / 407.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.000401, allocations: 8 kB / 495.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 77.5 MB / 0.5598 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4408/0.6225, allocations: 110.1 MB / 0.6673 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03151/0.654, allocations: 20.13 MB / 0.687 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006327/0.6604, allocations: 95.31 kB / 0.6871 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005355/0.6658, allocations: 1.037 MB / 0.6881 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01374/0.6796, allocations: 3.387 MB / 0.6914 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008432/0.6881, allocations: 2.859 MB / 0.6942 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.7007, allocations: 9.526 MB / 0.7035 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.7045, allocations: 2.081 MB / 0.7055 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005623/0.7101, allocations: 2.317 MB / 0.7078 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.7141, allocations: 2.03 MB / 0.7097 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007149/0.7148, allocations: 96 kB / 0.7098 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.7189, allocations: 1.446 MB / 0.7113 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007679/0.7196, allocations: 0.5171 MB / 0.7118 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.7217, allocations: 1.338 MB / 0.7131 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005736/0.7275, allocations: 4.154 MB / 0.7171 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7275, allocations: 0 / 0.7171 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7275, allocations: 0 / 0.7171 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001003/0.7276, allocations: 0 / 0.7171 GB, free: 6.609 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005948/0.7336, allocations: 2.701 MB / 0.7198 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7336, allocations: 8.031 kB / 0.7198 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009079/0.7345, allocations: 324.8 kB / 0.7201 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.7385, allocations: 2.155 MB / 0.7222 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.7386, allocations: 130.9 kB / 0.7223 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.7389, allocations: 164 kB / 0.7225 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.742, allocations: 1.612 MB / 0.724 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.742, allocations: 11.84 kB / 0.724 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.7422, allocations: 64 kB / 0.7241 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.7423, allocations: 40 kB / 0.7241 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.7444, allocations: 1.163 MB / 0.7253 GB, free: 14.04 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.7561, allocations: 7.901 MB / 0.733 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/0.7569, allocations: 479.2 kB / 0.7335 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.7575, allocations: 334.9 kB / 0.7338 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.7581, allocations: 0.7485 MB / 0.7345 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.7582, allocations: 43.12 kB / 0.7345 GB, free: 3.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.124e-06/0.7582, allocations: 0 / 0.7345 GB, free: 3.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.002009/0.7602, allocations: 1.004 MB / 0.7355 GB, free: 2.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.7602, allocations: 63.91 kB / 0.7356 GB, free: 2.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.7633, allocations: 2.312 MB / 0.7378 GB, free: 464 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.7634, allocations: 53.69 kB / 0.7379 GB, free: 404 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009628/0.7644, allocations: 1.157 MB / 0.739 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.7646, allocations: 212.9 kB / 0.7392 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.7648, allocations: 105.7 kB / 0.7393 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7649, allocations: 353.9 kB / 0.7397 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.7656, allocations: 354.5 kB / 0.74 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/0.7666, allocations: 0.7502 MB / 0.7407 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.768, allocations: 0.9941 MB / 0.7417 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.7681, allocations: 0 / 0.7417 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00234/0.7704, allocations: 1.311 MB / 0.743 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.7706, allocations: 339.1 kB / 0.7433 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.7707, allocations: 8 kB / 0.7433 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.7707, allocations: 12 kB / 0.7433 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.7717, allocations: 255.6 kB / 0.7436 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/0.7717, allocations: 23.92 kB / 0.7436 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.774, allocations: 250.2 kB / 0.7438 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.7742, allocations: 51.98 kB / 0.7439 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.7742, allocations: 4 kB / 0.7439 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001793/0.776, allocations: 1.03 MB / 0.7449 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.776, allocations: 16.69 kB / 0.7449 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.776, allocations: 12 kB / 0.7449 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.7769, allocations: 251.6 kB / 0.7452 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.777, allocations: 23.88 kB / 0.7452 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.7787, allocations: 226.6 kB / 0.7454 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.7788, allocations: 47.98 kB / 0.7454 GB, free: 8.238 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0009918/0.7798, allocations: 0.5748 MB / 0.746 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.7801, allocations: 237 kB / 0.7462 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.7818, allocations: 0.8891 MB / 0.7471 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.7819, allocations: 15.98 kB / 0.7471 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7819, allocations: 0 / 0.7471 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.7829, allocations: 0.6853 MB / 0.7478 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.7869, allocations: 2.582 MB / 0.7503 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.7869, allocations: 8 kB / 0.7503 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.7875, allocations: 131.8 kB / 0.7504 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.7875, allocations: 8.031 kB / 0.7505 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.7875, allocations: 20 kB / 0.7505 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.7875, allocations: 4 kB / 0.7505 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7875, allocations: 11.91 kB / 0.7505 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.7896, allocations: 1.329 MB / 0.7518 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/0.7904, allocations: 453.8 kB / 0.7522 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.7906, allocations: 15.98 kB / 0.7522 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.7918, allocations: 119.6 kB / 0.7523 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.7919, allocations: 40.5 kB / 0.7524 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.792, allocations: 35.97 kB / 0.7524 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002182/0.7941, allocations: 1.554 MB / 0.7539 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7942, allocations: 0 / 0.7539 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002739/0.7969, allocations: 1.099 MB / 0.755 GB, free: 14.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001725/0.7986, allocations: 0.7422 MB / 0.7557 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.8013, allocations: 1.365 MB / 0.7571 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.8013, allocations: 4 kB / 0.7571 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.8019, allocations: 328.3 kB / 0.7574 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007909/0.8098, allocations: 1.398 MB / 0.7587 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007667/0.8175, allocations: 4.604 MB / 0.7632 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.819, allocations: 1.586 MB / 0.7648 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002543/0.8215, allocations: 0.4948 MB / 0.7653 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.8221, allocations: 171.4 kB / 0.7654 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.8221, allocations: 0 / 0.7654 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of Templates: time 0.07886/0.901, allocations: 45.04 MB / 0.8094 GB, free: 7.16 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)