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.009938/0.009938, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001787/0.001786, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.037/1.037, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 60.14 kB / 0.5955 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4826, allocations: 82.03 MB / 0.6756 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1293/0.6119, allocations: 112.7 MB / 0.7857 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03749/0.6494, allocations: 20.27 MB / 0.8055 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006549/0.656, allocations: 103.4 kB / 0.8055 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005386/0.6615, allocations: 1.277 MB / 0.8068 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01364/0.6752, allocations: 3.7 MB / 0.8104 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008485/0.6837, allocations: 3.117 MB / 0.8135 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.6955, allocations: 7.217 MB / 0.8205 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004981/0.7005, allocations: 2.572 MB / 0.823 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008176/0.7087, allocations: 2.816 MB / 0.8258 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004727/0.7134, allocations: 2.12 MB / 0.8278 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.7147, allocations: 259.9 kB / 0.8281 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005573/0.7203, allocations: 1.65 MB / 0.8297 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.7218, allocations: 0.6928 MB / 0.8304 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00397/0.7258, allocations: 1.512 MB / 0.8318 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.7369, allocations: 4.631 MB / 0.8364 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.737, allocations: 0 / 0.8364 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.734e-06/0.737, allocations: 3.938 kB / 0.8364 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001955/0.7372, allocations: 4 kB / 0.8364 GB, free: 1.391 MB / 0.6544 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.008997/0.7462, allocations: 3.325 MB / 0.8396 GB, free: 13.99 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.7463, allocations: 12.03 kB / 0.8396 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.7476, allocations: 349.5 kB / 0.84 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005169/0.7528, allocations: 2.233 MB / 0.8421 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.7529, allocations: 123 kB / 0.8423 GB, free: 11.22 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004388/0.7534, allocations: 164 kB / 0.8424 GB, free: 11.06 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.7569, allocations: 1.616 MB / 0.844 GB, free: 9.379 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/0.757, allocations: 3.938 kB / 0.844 GB, free: 9.375 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.7572, allocations: 67.94 kB / 0.8441 GB, free: 9.309 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.7572, allocations: 36 kB / 0.8441 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.7596, allocations: 1.143 MB / 0.8452 GB, free: 8.125 MB / 0.67 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.01327/0.7729, allocations: 7.95 MB / 0.853 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008715/0.7738, allocations: 475.9 kB / 0.8534 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.7744, allocations: 323.5 kB / 0.8537 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000741/0.7752, allocations: 0.7523 MB / 0.8545 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7752, allocations: 47.06 kB / 0.8545 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.7752, allocations: 0 / 0.8545 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002443/0.7777, allocations: 0.9973 MB / 0.8555 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.7778, allocations: 59.97 kB / 0.8556 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/0.782, allocations: 2.339 MB / 0.8578 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.7822, allocations: 49.7 kB / 0.8579 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.7834, allocations: 1.175 MB / 0.859 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.7837, allocations: 222.1 kB / 0.8592 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/0.7842, allocations: 254.8 kB / 0.8595 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7843, allocations: 353.9 kB / 0.8598 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.785, allocations: 357.9 kB / 0.8602 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.786, allocations: 0.7501 MB / 0.8609 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.7876, allocations: 0.9824 MB / 0.8619 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.7876, allocations: 8 kB / 0.8619 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002784/0.7904, allocations: 1.3 MB / 0.8631 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.7904, allocations: 8 kB / 0.8631 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.7904, allocations: 8 kB / 0.8632 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.7905, allocations: 16.62 kB / 0.8632 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009672/0.7915, allocations: 255.6 kB / 0.8634 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.392e-05/0.7915, allocations: 23.92 kB / 0.8634 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.7933, allocations: 170.8 kB / 0.8636 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.7935, allocations: 51.98 kB / 0.8636 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001576/0.7951, allocations: 0.7602 MB / 0.8644 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.7961, allocations: 0.7349 MB / 0.8651 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001444/0.7976, allocations: 0.9601 MB / 0.866 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.148e-06/0.7976, allocations: 0 / 0.866 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002506/0.8001, allocations: 1.275 MB / 0.8673 GB, free: 196 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.8001, allocations: 8 kB / 0.8673 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.8002, allocations: 12 kB / 0.8673 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8002, allocations: 16.03 kB / 0.8673 GB, free: 160 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.463/1.263, allocations: 241.3 kB / 0.8676 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.281e-05/1.263, allocations: 21.55 kB / 0.8676 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/1.266, allocations: 117.9 kB / 0.8677 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.266, allocations: 53.22 kB / 0.8677 GB, free: 178.5 MB / 0.6856 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.0003857/1.266, allocations: 255.8 kB / 0.868 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005488/1.267, allocations: 251.2 kB / 0.8682 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/1.269, allocations: 0.8795 MB / 0.8691 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/1.269, allocations: 7.203 kB / 0.8691 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.269, allocations: 1.297 kB / 0.8691 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/1.27, allocations: 0.6882 MB / 0.8698 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005089/1.275, allocations: 2.59 MB / 0.8723 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.275, allocations: 0.8438 kB / 0.8723 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/1.276, allocations: 125.6 kB / 0.8724 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.276, allocations: 6.781 kB / 0.8724 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/1.276, allocations: 18.41 kB / 0.8724 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/1.276, allocations: 7.469 kB / 0.8724 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.276, allocations: 2.062 kB / 0.8724 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/1.279, allocations: 1.326 MB / 0.8737 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/1.279, allocations: 432.9 kB / 0.8742 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.28, allocations: 13.05 kB / 0.8742 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/1.281, allocations: 44.67 kB / 0.8742 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.281, allocations: 47.98 kB / 0.8743 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/1.281, allocations: 38.98 kB / 0.8743 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003173/1.284, allocations: 1.568 MB / 0.8758 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.01e-07/1.284, allocations: 0 / 0.8758 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004633/1.289, allocations: 1.114 MB / 0.8769 GB, free: 175.4 MB / 0.6856 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.002025/1.291, allocations: 0.7675 MB / 0.8777 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002889/1.294, allocations: 1.364 MB / 0.879 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.294, allocations: 0.9688 kB / 0.879 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/1.294, allocations: 325.1 kB / 0.8793 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005402/1.299, allocations: 1.386 MB / 0.8807 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/1.305, allocations: 3.747 MB / 0.8843 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.307, allocations: 1.591 MB / 0.8859 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002184/1.309, allocations: 0.4935 MB / 0.8863 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/1.309, allocations: 176 kB / 0.8865 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/1.309, allocations: 0 / 0.8865 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.06303/1.372, allocations: 45.14 MB / 0.9306 GB, free: 133.1 MB / 0.6856 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)