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.001127/0.001127, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001688/0.001688, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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 0.8581/0.8581, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 67.84 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3605, allocations: 82.03 MB / 0.5957 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09972/0.4603, allocations: 112.6 MB / 0.7057 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03178/0.4921, allocations: 20.28 MB / 0.7255 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004939/0.4971, allocations: 103.4 kB / 0.7256 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.5016, allocations: 1.281 MB / 0.7269 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.5132, allocations: 3.688 MB / 0.7305 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008214/0.5214, allocations: 3.123 MB / 0.7335 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.5328, allocations: 7.211 MB / 0.7405 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.5369, allocations: 2.576 MB / 0.7431 GB, free: 9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006721/0.5436, allocations: 2.817 MB / 0.7458 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003967/0.5476, allocations: 2.124 MB / 0.7479 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007/0.5483, allocations: 256 kB / 0.7481 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.5522, allocations: 1.646 MB / 0.7497 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007375/0.553, allocations: 0.6928 MB / 0.7504 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3363/0.8893, allocations: 1.512 MB / 0.7519 GB, free: 41.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.8998, allocations: 4.608 MB / 0.7564 GB, free: 41.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.8999, allocations: 0 / 0.7564 GB, free: 41.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8999, allocations: 0 / 0.7564 GB, free: 41.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002074/0.9001, allocations: 3.375 kB / 0.7564 GB, free: 41.74 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.01015/0.9103, allocations: 3.227 MB / 0.7595 GB, free: 40.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.9104, allocations: 9.562 kB / 0.7596 GB, free: 40.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.912, allocations: 325.5 kB / 0.7599 GB, free: 40.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.9171, allocations: 2.216 MB / 0.762 GB, free: 39.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.9172, allocations: 127.2 kB / 0.7621 GB, free: 39.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.9175, allocations: 172.2 kB / 0.7623 GB, free: 39.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.921, allocations: 1.607 MB / 0.7639 GB, free: 39.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.921, allocations: 0.9375 kB / 0.7639 GB, free: 39.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.9212, allocations: 62.88 kB / 0.7639 GB, free: 39.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.517e-05/0.9213, allocations: 43.81 kB / 0.764 GB, free: 39.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.9238, allocations: 1.146 MB / 0.7651 GB, free: 39.4 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.01176/0.9355, allocations: 7.923 MB / 0.7728 GB, free: 35.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.9363, allocations: 478.6 kB / 0.7733 GB, free: 35.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.9368, allocations: 316.2 kB / 0.7736 GB, free: 35.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/0.9373, allocations: 0.7562 MB / 0.7743 GB, free: 34.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.9373, allocations: 41.34 kB / 0.7744 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.707e-06/0.9374, allocations: 5.312 kB / 0.7744 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002272/0.9396, allocations: 0.9919 MB / 0.7754 GB, free: 34.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.9397, allocations: 61.16 kB / 0.7754 GB, free: 34.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/0.9428, allocations: 2.338 MB / 0.7777 GB, free: 34.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.943, allocations: 46.36 kB / 0.7777 GB, free: 34.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008556/0.9438, allocations: 1.148 MB / 0.7789 GB, free: 33.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.9441, allocations: 217.3 kB / 0.7791 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.9444, allocations: 257.4 kB / 0.7793 GB, free: 33.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.9445, allocations: 351.7 kB / 0.7796 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.9451, allocations: 355.8 kB / 0.78 GB, free: 33.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.9459, allocations: 0.7456 MB / 0.7807 GB, free: 33.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.9471, allocations: 0.981 MB / 0.7817 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.9471, allocations: 8.203 kB / 0.7817 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002262/0.9494, allocations: 1.291 MB / 0.7829 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.9494, allocations: 10.66 kB / 0.783 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.9495, allocations: 7.875 kB / 0.783 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.9495, allocations: 18.19 kB / 0.783 GB, free: 32.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.9504, allocations: 247.9 kB / 0.7832 GB, free: 32.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.9504, allocations: 18.61 kB / 0.7832 GB, free: 32.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.952, allocations: 172 kB / 0.7834 GB, free: 32.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.9521, allocations: 53.02 kB / 0.7834 GB, free: 32.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001322/0.9534, allocations: 0.7588 MB / 0.7842 GB, free: 32.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000756/0.9542, allocations: 0.734 MB / 0.7849 GB, free: 31.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.9553, allocations: 0.9541 MB / 0.7858 GB, free: 31.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/0.9553, allocations: 6.469 kB / 0.7858 GB, free: 31.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001953/0.9573, allocations: 1.255 MB / 0.7871 GB, free: 31.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.9573, allocations: 8.219 kB / 0.7871 GB, free: 31.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9573, allocations: 9.594 kB / 0.7871 GB, free: 31.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9573, allocations: 21.31 kB / 0.7871 GB, free: 31.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.9582, allocations: 251.6 kB / 0.7873 GB, free: 31.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.9582, allocations: 24.09 kB / 0.7874 GB, free: 31.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.9599, allocations: 119.2 kB / 0.7875 GB, free: 31.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/0.96, allocations: 49.8 kB / 0.7875 GB, free: 31.45 MB / 0.5762 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.0003564/0.9603, allocations: 247.6 kB / 0.7878 GB, free: 31.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/0.9607, allocations: 240.8 kB / 0.788 GB, free: 31.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.9626, allocations: 0.8861 MB / 0.7889 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.9626, allocations: 15.09 kB / 0.7889 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.9626, allocations: 0 / 0.7889 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009309/0.9636, allocations: 0.6859 MB / 0.7895 GB, free: 30.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.9674, allocations: 2.582 MB / 0.7921 GB, free: 30.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.9674, allocations: 8.75 kB / 0.7921 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.9679, allocations: 126.8 kB / 0.7922 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.9679, allocations: 2.5 kB / 0.7922 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.968, allocations: 20.47 kB / 0.7922 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.968, allocations: 4 kB / 0.7922 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.968, allocations: 0 / 0.7922 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.9703, allocations: 1.318 MB / 0.7935 GB, free: 30.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.9713, allocations: 421.2 kB / 0.7939 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.9716, allocations: 10.81 kB / 0.7939 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/0.9725, allocations: 50.12 kB / 0.794 GB, free: 29.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.9727, allocations: 43.47 kB / 0.794 GB, free: 29.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.9727, allocations: 36.52 kB / 0.794 GB, free: 29.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002285/0.975, allocations: 1.567 MB / 0.7956 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/0.975, allocations: 0 / 0.7956 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002819/0.9779, allocations: 1.101 MB / 0.7966 GB, free: 29.64 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.001673/0.9795, allocations: 0.7621 MB / 0.7974 GB, free: 29.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002367/0.9819, allocations: 1.359 MB / 0.7987 GB, free: 29.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9819, allocations: 0 / 0.7987 GB, free: 29.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.9824, allocations: 330 kB / 0.799 GB, free: 29.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/0.9872, allocations: 1.392 MB / 0.8004 GB, free: 29.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.9923, allocations: 3.679 MB / 0.804 GB, free: 27.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/0.9932, allocations: 1.591 MB / 0.8055 GB, free: 26.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001668/0.9949, allocations: 0.4896 MB / 0.806 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.9952, allocations: 172.8 kB / 0.8062 GB, free: 26.77 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.9952, allocations: 4 kB / 0.8062 GB, free: 26.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.0625/1.058, allocations: 44.8 MB / 0.8499 GB, free: 1.945 MB / 0.5919 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)