Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001733/0.001733, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.476/1.476, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.021/1.021, allocations: 143.3 MB / 434.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.91 kB / 0.5151 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 82.03 MB / 0.5952 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01338/0.3545, allocations: 15.53 MB / 0.6104 GB, free: 484 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.3616, allocations: 4.34 MB / 0.6146 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.3623, allocations: 11.94 kB / 0.6146 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3634, allocations: 263.9 kB / 0.6149 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.3653, allocations: 0.6074 MB / 0.6154 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.3674, allocations: 0.695 MB / 0.6161 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.369, allocations: 1.034 MB / 0.6171 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.3696, allocations: 340.6 kB / 0.6175 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/0.3706, allocations: 419.9 kB / 0.6179 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.3712, allocations: 323.1 kB / 0.6182 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.597e-05/0.3713, allocations: 28.5 kB / 0.6182 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.3726, allocations: 0.6286 MB / 0.6188 GB, free: 7.844 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3728, allocations: 95.66 kB / 0.6189 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.3732, allocations: 223.2 kB / 0.6191 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.3747, allocations: 0.7833 MB / 0.6199 GB, free: 6.746 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3747, allocations: 0 / 0.6199 GB, free: 6.746 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3747, allocations: 0.5 kB / 0.6199 GB, free: 6.746 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3747, allocations: 0.5938 kB / 0.6199 GB, free: 6.746 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00156/0.3763, allocations: 0.839 MB / 0.6207 GB, free: 5.859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3763, allocations: 8.031 kB / 0.6207 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.3765, allocations: 53 kB / 0.6208 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.3772, allocations: 421.3 kB / 0.6212 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3772, allocations: 21.5 kB / 0.6212 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.3772, allocations: 32 kB / 0.6212 GB, free: 5.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.3777, allocations: 209 kB / 0.6214 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3778, allocations: 4 kB / 0.6214 GB, free: 5.086 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.3778, allocations: 4 kB / 0.6214 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3778, allocations: 4 kB / 0.6214 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.3782, allocations: 170.9 kB / 0.6216 GB, free: 4.914 MB / 462.1 MB 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.001819/0.3801, allocations: 0.9593 MB / 0.6225 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.3804, allocations: 126.6 kB / 0.6226 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3806, allocations: 73.38 kB / 0.6227 GB, free: 3.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.3809, allocations: 343.6 kB / 0.623 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.381, allocations: 38.56 kB / 0.6231 GB, free: 3.227 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.381, allocations: 0 / 0.6231 GB, free: 3.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006926/0.3817, allocations: 229.1 kB / 0.6233 GB, free: 2.996 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.3817, allocations: 59.41 kB / 0.6234 GB, free: 2.926 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.3823, allocations: 474 kB / 0.6238 GB, free: 2.453 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.3824, allocations: 33.7 kB / 0.6238 GB, free: 2.414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.3826, allocations: 232.5 kB / 0.6241 GB, free: 2.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.3826, allocations: 47.36 kB / 0.6241 GB, free: 2.133 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3828, allocations: 61.47 kB / 0.6242 GB, free: 2.066 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3829, allocations: 354.7 kB / 0.6245 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.3831, allocations: 76.81 kB / 0.6246 GB, free: 1.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.3834, allocations: 149.2 kB / 0.6247 GB, free: 1.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.3838, allocations: 164.7 kB / 0.6249 GB, free: 1.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3838, allocations: 0 / 0.6249 GB, free: 1.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005722/0.3844, allocations: 253 kB / 0.6251 GB, free: 1.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3844, allocations: 8 kB / 0.6251 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3844, allocations: 0 / 0.6251 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3845, allocations: 3.984 kB / 0.6251 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3847, allocations: 51.91 kB / 0.6252 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3847, allocations: 8 kB / 0.6252 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.3851, allocations: 39.66 kB / 0.6252 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3851, allocations: 8 kB / 0.6252 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003041/0.3854, allocations: 188.1 kB / 0.6254 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002796/0.3857, allocations: 166.5 kB / 0.6256 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003663/0.3861, allocations: 174.8 kB / 0.6257 GB, free: 364 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.3861, allocations: 0 / 0.6257 GB, free: 364 kB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005598/0.3867, allocations: 249 kB / 0.626 GB, free: 108 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3867, allocations: 8.188 kB / 0.626 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.3867, allocations: 0 / 0.626 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.3867, allocations: 3.938 kB / 0.626 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3869, allocations: 43.97 kB / 0.626 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3869, allocations: 4 kB / 0.626 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.3873, allocations: 35.94 kB / 0.6261 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.3873, allocations: 16 kB / 0.6261 GB, free: 15.99 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001385/0.3875, allocations: 192.9 kB / 0.6263 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.3876, allocations: 43.44 kB / 0.6263 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.3882, allocations: 259.4 kB / 0.6265 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.3882, allocations: 0 / 0.6265 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3882, allocations: 4 kB / 0.6266 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3883, allocations: 0 / 0.6266 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3894, allocations: 0.7082 MB / 0.6272 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3894, allocations: 0 / 0.6272 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3895, allocations: 31.97 kB / 0.6273 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3896, allocations: 0 / 0.6273 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.3896, allocations: 8 kB / 0.6273 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3896, allocations: 7.875 kB / 0.6273 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3896, allocations: 4 kB / 0.6273 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.3902, allocations: 338.4 kB / 0.6276 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.3903, allocations: 140.4 kB / 0.6278 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.3904, allocations: 4 kB / 0.6278 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.3906, allocations: 15.92 kB / 0.6278 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.3907, allocations: 27.91 kB / 0.6278 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3907, allocations: 4 kB / 0.6278 GB, free: 14.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004038/0.3911, allocations: 334.9 kB / 0.6281 GB, free: 13.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3912, allocations: 0 / 0.6281 GB, free: 13.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007139/0.3919, allocations: 195.7 kB / 0.6283 GB, free: 13.59 MB / 478.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 (16): * Single equations (assignments): 14 * 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.001622/0.3935, allocations: 494.6 kB / 0.6288 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.3943, allocations: 271.7 kB / 0.629 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3943, allocations: 0 / 0.629 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.3945, allocations: 87.83 kB / 0.6291 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.3957, allocations: 203.4 kB / 0.6293 GB, free: 12.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3971, allocations: 0.7458 MB / 0.63 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.3976, allocations: 0.8231 MB / 0.6308 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3977, allocations: 43.42 kB / 0.6309 GB, free: 11.01 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3978, allocations: 0 / 0.6309 GB, free: 11.01 MB / 478.1 MB Notification: Performance of Templates: time 0.01294/0.4107, allocations: 7.422 MB / 0.6381 GB, free: 3.684 MB / 478.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)