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/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.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.001318/0.001318, allocations: 100.1 kB / 15.88 MB, free: 12 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.00151/0.001509, allocations: 196 kB / 16.79 MB, free: 6.809 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.056/1.056, allocations: 143 MB / 433.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 0.5142 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1691, allocations: 82.05 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.3321/0.5012, allocations: 15.46 MB / 0.6094 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005474/0.5067, allocations: 4.355 MB / 0.6136 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.5073, allocations: 17.66 kB / 0.6136 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008721/0.5082, allocations: 222.7 kB / 0.6139 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.5096, allocations: 0.5496 MB / 0.6144 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.5112, allocations: 0.6332 MB / 0.615 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.5124, allocations: 1.308 MB / 0.6163 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.5128, allocations: 291.6 kB / 0.6166 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.5134, allocations: 392.2 kB / 0.6169 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.5137, allocations: 323.5 kB / 0.6173 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.5138, allocations: 14.94 kB / 0.6173 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.5148, allocations: 0.5991 MB / 0.6179 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.5149, allocations: 102.3 kB / 0.6179 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.5151, allocations: 215.1 kB / 0.6182 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.5156, allocations: 0.5589 MB / 0.6187 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5156, allocations: 2.906 kB / 0.6187 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5156, allocations: 0 / 0.6187 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5157, allocations: 0 / 0.6187 GB, free: 33.4 MB / 0.4981 GB 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.001103/0.5168, allocations: 0.836 MB / 0.6195 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.5168, allocations: 8.594 kB / 0.6195 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.839e-05/0.5169, allocations: 53.89 kB / 0.6196 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.5174, allocations: 412.8 kB / 0.62 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.5174, allocations: 28.34 kB / 0.62 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.5174, allocations: 27.38 kB / 0.62 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.5178, allocations: 209.7 kB / 0.6202 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5178, allocations: 0 / 0.6202 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5179, allocations: 11.94 kB / 0.6202 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5179, allocations: 9.938 kB / 0.6202 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.5182, allocations: 163.6 kB / 0.6204 GB, free: 32.24 MB / 0.4981 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.001362/0.5196, allocations: 0.9451 MB / 0.6213 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.5199, allocations: 126.7 kB / 0.6214 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.52, allocations: 75.5 kB / 0.6215 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.5202, allocations: 337.7 kB / 0.6218 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5203, allocations: 45.34 kB / 0.6219 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.5203, allocations: 0 / 0.6219 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005532/0.5208, allocations: 236.9 kB / 0.6221 GB, free: 31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5209, allocations: 54.25 kB / 0.6222 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.5213, allocations: 479.9 kB / 0.6226 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5213, allocations: 31.89 kB / 0.6226 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.5215, allocations: 235.6 kB / 0.6229 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.5215, allocations: 44.28 kB / 0.6229 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.5216, allocations: 60.17 kB / 0.623 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.5216, allocations: 357.2 kB / 0.6233 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.5218, allocations: 77.02 kB / 0.6234 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.522, allocations: 154 kB / 0.6235 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.5223, allocations: 162 kB / 0.6237 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5224, allocations: 0 / 0.6237 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004439/0.5228, allocations: 260.3 kB / 0.6239 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5228, allocations: 2.969 kB / 0.6239 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5228, allocations: 2.906 kB / 0.6239 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5229, allocations: 0 / 0.6239 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.5231, allocations: 41.28 kB / 0.624 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5231, allocations: 6.312 kB / 0.624 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.5234, allocations: 52.41 kB / 0.624 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.5234, allocations: 9.656 kB / 0.624 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002392/0.5237, allocations: 190 kB / 0.6242 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002018/0.5239, allocations: 158.8 kB / 0.6244 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002986/0.5242, allocations: 166.4 kB / 0.6245 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.5242, allocations: 3.938 kB / 0.6245 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000438/0.5247, allocations: 255.9 kB / 0.6248 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.5247, allocations: 5.188 kB / 0.6248 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5247, allocations: 6.094 kB / 0.6248 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.5247, allocations: 2.594 kB / 0.6248 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.5249, allocations: 49.25 kB / 0.6248 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.5249, allocations: 0 / 0.6248 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.5252, allocations: 44.98 kB / 0.6249 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.5253, allocations: 12.2 kB / 0.6249 GB, free: 29.29 MB / 0.4981 GB 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 7.68e-05/0.5254, allocations: 193.4 kB / 0.6251 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.5254, allocations: 51.7 kB / 0.6251 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.5259, allocations: 253.4 kB / 0.6254 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5259, allocations: 3.422 kB / 0.6254 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5259, allocations: 0 / 0.6254 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.526, allocations: 2.844 kB / 0.6254 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.5268, allocations: 0.7052 MB / 0.6261 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5268, allocations: 2.938 kB / 0.6261 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5269, allocations: 29.38 kB / 0.6261 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5269, allocations: 0 / 0.6261 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5269, allocations: 5.766 kB / 0.6261 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5269, allocations: 6.875 kB / 0.6261 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5269, allocations: 0 / 0.6261 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.5273, allocations: 347.8 kB / 0.6264 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5274, allocations: 139 kB / 0.6266 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.5275, allocations: 2.875 kB / 0.6266 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.5277, allocations: 29.05 kB / 0.6266 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.5278, allocations: 8.562 kB / 0.6266 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.5278, allocations: 13.02 kB / 0.6266 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002946/0.5281, allocations: 330.4 kB / 0.6269 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5281, allocations: 0 / 0.6269 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006237/0.5287, allocations: 206.1 kB / 0.6271 GB, free: 27.89 MB / 0.4981 GB 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.001079/0.5298, allocations: 494.9 kB / 0.6276 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.5304, allocations: 263.8 kB / 0.6279 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5304, allocations: 4 kB / 0.6279 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.5306, allocations: 85.47 kB / 0.6279 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.5318, allocations: 216.7 kB / 0.6282 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.5329, allocations: 0.8713 MB / 0.629 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.5331, allocations: 0.8294 MB / 0.6298 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.5332, allocations: 42.88 kB / 0.6299 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.5332, allocations: 0 / 0.6299 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.009445/0.5427, allocations: 7.508 MB / 0.6372 GB, free: 25.4 MB / 0.4981 GB 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)