Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001169/0.001169, allocations: 104.1 kB / 15.88 MB, free: 4 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.001348/0.001348, allocations: 196.1 kB / 16.79 MB, free: 6.832 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.004/1.004, allocations: 143 MB / 433.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.5142 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2011, allocations: 82.03 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4425/0.6437, allocations: 111.9 MB / 0.7035 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03542/0.6792, allocations: 20.34 MB / 0.7234 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00618/0.6854, allocations: 95.12 kB / 0.7235 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004834/0.6903, allocations: 1.048 MB / 0.7245 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.7032, allocations: 3.385 MB / 0.7278 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009145/0.7123, allocations: 2.853 MB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.7264, allocations: 9.536 MB / 0.7399 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.7304, allocations: 2.138 MB / 0.742 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/0.7372, allocations: 2.399 MB / 0.7444 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005373/0.7426, allocations: 2.123 MB / 0.7464 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007049/0.7434, allocations: 123.9 kB / 0.7466 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004805/0.7482, allocations: 1.482 MB / 0.748 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007135/0.7489, allocations: 0.5639 MB / 0.7486 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.7512, allocations: 1.364 MB / 0.7499 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005378/0.7566, allocations: 3.609 MB / 0.7534 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.7567, allocations: 0 / 0.7534 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7567, allocations: 0 / 0.7534 GB, free: 11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001095/0.7568, allocations: 0 / 0.7534 GB, free: 11 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008497/0.7653, allocations: 3.236 MB / 0.7566 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.7654, allocations: 8.031 kB / 0.7566 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.7667, allocations: 328.8 kB / 0.7569 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/0.7725, allocations: 2.159 MB / 0.759 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.7726, allocations: 131 kB / 0.7591 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.773, allocations: 164 kB / 0.7593 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/0.7765, allocations: 1.612 MB / 0.7609 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.7765, allocations: 4 kB / 0.7609 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.7767, allocations: 64 kB / 0.7609 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.7767, allocations: 43.94 kB / 0.761 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.7792, allocations: 1.151 MB / 0.7621 GB, free: 1.91 MB / 0.5762 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.01616/0.7954, allocations: 7.893 MB / 0.7698 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.7967, allocations: 474 kB / 0.7702 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.7975, allocations: 323.5 kB / 0.7706 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/0.7984, allocations: 0.7641 MB / 0.7713 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.7985, allocations: 39.12 kB / 0.7713 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 4.058e-06/0.7985, allocations: 0 / 0.7713 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003245/0.8017, allocations: 0.988 MB / 0.7723 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.8018, allocations: 63.91 kB / 0.7724 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.8058, allocations: 2.316 MB / 0.7746 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/0.806, allocations: 49.7 kB / 0.7747 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009864/0.807, allocations: 1.149 MB / 0.7758 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.8073, allocations: 216.9 kB / 0.776 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/0.8076, allocations: 258.6 kB / 0.7762 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.8078, allocations: 341.9 kB / 0.7766 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/0.8085, allocations: 365.9 kB / 0.7769 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.8095, allocations: 0.7463 MB / 0.7777 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.8111, allocations: 0.9864 MB / 0.7786 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.8111, allocations: 4 kB / 0.7786 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002573/0.8137, allocations: 1.295 MB / 0.7799 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.8137, allocations: 8.781 kB / 0.7799 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.8137, allocations: 8 kB / 0.7799 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.8138, allocations: 12 kB / 0.7799 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009814/0.8147, allocations: 255.6 kB / 0.7802 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.8148, allocations: 23.3 kB / 0.7802 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.8167, allocations: 242.2 kB / 0.7804 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.8168, allocations: 55.98 kB / 0.7805 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001422/0.8182, allocations: 0.7563 MB / 0.7812 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009667/0.8192, allocations: 0.7426 MB / 0.7819 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001362/0.8205, allocations: 0.9423 MB / 0.7828 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.881e-06/0.8206, allocations: 4 kB / 0.7828 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002395/0.823, allocations: 1.258 MB / 0.7841 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.823, allocations: 11.98 kB / 0.7841 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.823, allocations: 11.94 kB / 0.7841 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.823, allocations: 16 kB / 0.7841 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/0.8239, allocations: 243.6 kB / 0.7843 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.824, allocations: 20.47 kB / 0.7844 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.8258, allocations: 191.3 kB / 0.7845 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.8259, allocations: 51.98 kB / 0.7846 GB, free: 9.527 MB / 0.6075 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.0003607/0.8263, allocations: 244 kB / 0.7848 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.8267, allocations: 241 kB / 0.7851 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.8286, allocations: 0.8987 MB / 0.7859 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8287, allocations: 11.94 kB / 0.786 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8287, allocations: 4 kB / 0.786 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.8297, allocations: 0.6814 MB / 0.7866 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/0.834, allocations: 2.57 MB / 0.7891 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.834, allocations: 0 / 0.7891 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.8346, allocations: 128 kB / 0.7893 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.8346, allocations: 4 kB / 0.7893 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.8346, allocations: 19.98 kB / 0.7893 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.8346, allocations: 3.938 kB / 0.7893 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8347, allocations: 4 kB / 0.7893 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.8368, allocations: 1.317 MB / 0.7906 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/0.8377, allocations: 417.9 kB / 0.791 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.838, allocations: 12 kB / 0.791 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8391, allocations: 115.7 kB / 0.7911 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8392, allocations: 44.39 kB / 0.7911 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.8393, allocations: 35.97 kB / 0.7912 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00236/0.8416, allocations: 1.55 MB / 0.7927 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8416, allocations: 0 / 0.7927 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002976/0.8446, allocations: 1.107 MB / 0.7938 GB, free: 15.97 MB / 0.6231 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.001794/0.8464, allocations: 0.7388 MB / 0.7945 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002646/0.8491, allocations: 1.362 MB / 0.7958 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8491, allocations: 0 / 0.7958 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.8497, allocations: 332.3 kB / 0.7961 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006798/0.8565, allocations: 1.387 MB / 0.7975 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.8639, allocations: 4.59 MB / 0.802 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.8657, allocations: 1.582 MB / 0.8035 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009129/0.8666, allocations: 187.3 kB / 0.8037 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of SimCode: time 1.383e-06/0.8666, allocations: 0 / 0.8037 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.06576/0.9324, allocations: 39.95 MB / 0.8427 GB, free: 14.31 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)