Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009914, allocations: 99.27 kB / 16.02 MB, free: 76 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.001073/0.001073, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.332 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.023/1.023, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 8.281 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 83.42 MB / 0.5985 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.4274/0.606, allocations: 16.83 MB / 0.6149 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.6167, allocations: 4.861 MB / 0.6197 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008058/0.6175, allocations: 16.62 kB / 0.6197 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.6187, allocations: 206.4 kB / 0.6199 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.6212, allocations: 0.5665 MB / 0.6205 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.6239, allocations: 0.6473 MB / 0.6211 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.6259, allocations: 1.268 MB / 0.6223 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.6266, allocations: 287.9 kB / 0.6226 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.6276, allocations: 377.4 kB / 0.623 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.6282, allocations: 308.4 kB / 0.6233 GB, free: 31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.6283, allocations: 16.59 kB / 0.6233 GB, free: 31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.6303, allocations: 0.6897 MB / 0.6239 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.6305, allocations: 117.5 kB / 0.6241 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.6308, allocations: 257.3 kB / 0.6243 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.6319, allocations: 0.6403 MB / 0.6249 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6319, allocations: 0 / 0.6249 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6319, allocations: 0 / 0.6249 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.6319, allocations: 0 / 0.6249 GB, free: 30.66 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001529/0.6335, allocations: 0.7993 MB / 0.6257 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6335, allocations: 8.438 kB / 0.6257 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.6338, allocations: 62.66 kB / 0.6258 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.6346, allocations: 444.5 kB / 0.6262 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.6346, allocations: 27.25 kB / 0.6262 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.6347, allocations: 26 kB / 0.6262 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.6354, allocations: 291.2 kB / 0.6265 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.6355, allocations: 3.938 kB / 0.6265 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.6355, allocations: 10.16 kB / 0.6265 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6356, allocations: 6.312 kB / 0.6265 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.6363, allocations: 207.9 kB / 0.6267 GB, free: 29.62 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.00257/0.6389, allocations: 1.481 MB / 0.6282 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.6394, allocations: 174.2 kB / 0.6284 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.6397, allocations: 86.27 kB / 0.6284 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002167/0.6418, allocations: 1.29 MB / 0.6297 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.6419, allocations: 37.34 kB / 0.6297 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 3.968e-06/0.6419, allocations: 3.938 kB / 0.6297 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.001012/0.6429, allocations: 266 kB / 0.63 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.643, allocations: 53.91 kB / 0.63 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.644, allocations: 0.5877 MB / 0.6306 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.644, allocations: 32.48 kB / 0.6306 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.6443, allocations: 264.7 kB / 0.6309 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.6444, allocations: 55.89 kB / 0.631 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.6444, allocations: 29.94 kB / 0.631 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6445, allocations: 358.7 kB / 0.6313 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.6449, allocations: 79.53 kB / 0.6314 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.6453, allocations: 217.5 kB / 0.6316 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.646, allocations: 243.2 kB / 0.6318 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.646, allocations: 0 / 0.6318 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000963/0.647, allocations: 334.1 kB / 0.6322 GB, free: 25.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.6471, allocations: 163.9 kB / 0.6323 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6471, allocations: 2.531 kB / 0.6323 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.6472, allocations: 2.531 kB / 0.6323 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.6476, allocations: 70.11 kB / 0.6324 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.6476, allocations: 2.75 kB / 0.6324 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.6483, allocations: 52.28 kB / 0.6324 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.6484, allocations: 16.48 kB / 0.6325 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.6484, allocations: 5.812 kB / 0.6325 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008062/0.6492, allocations: 245 kB / 0.6327 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6493, allocations: 2.469 kB / 0.6327 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6493, allocations: 5.094 kB / 0.6327 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.6497, allocations: 68.92 kB / 0.6328 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6497, allocations: 13.72 kB / 0.6328 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.6503, allocations: 50.28 kB / 0.6328 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.6503, allocations: 12.53 kB / 0.6328 GB, free: 25.22 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0003348/0.6507, allocations: 263.2 kB / 0.6331 GB, free: 25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6508, allocations: 49.53 kB / 0.6331 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.6518, allocations: 263.8 kB / 0.6334 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.6518, allocations: 7.266 kB / 0.6334 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6518, allocations: 7.031 kB / 0.6334 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6518, allocations: 0 / 0.6334 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.6535, allocations: 0.75 MB / 0.6341 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6535, allocations: 2.844 kB / 0.6341 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.6537, allocations: 36.59 kB / 0.6342 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.6538, allocations: 3.031 kB / 0.6342 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.6538, allocations: 7.531 kB / 0.6342 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6538, allocations: 0 / 0.6342 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6538, allocations: 2.719 kB / 0.6342 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.6545, allocations: 364.3 kB / 0.6345 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.6548, allocations: 150.3 kB / 0.6347 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6549, allocations: 8 kB / 0.6347 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.6553, allocations: 22.89 kB / 0.6347 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.6554, allocations: 11.7 kB / 0.6347 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.6554, allocations: 6.062 kB / 0.6347 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007163/0.6562, allocations: 420.7 kB / 0.6351 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6562, allocations: 6.625 kB / 0.6351 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001328/0.6575, allocations: 233.5 kB / 0.6354 GB, free: 23.73 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 (17): * Single equations (assignments): 15 * 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.00191/0.6594, allocations: 0.4956 MB / 0.6358 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.6608, allocations: 340.8 kB / 0.6362 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6608, allocations: 0 / 0.6362 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.6611, allocations: 92.81 kB / 0.6362 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.6638, allocations: 254.5 kB / 0.6365 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.666, allocations: 1.027 MB / 0.6375 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.6664, allocations: 0.845 MB / 0.6383 GB, free: 22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.6666, allocations: 43.39 kB / 0.6384 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.6666, allocations: 0 / 0.6384 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.0202/0.6868, allocations: 8.595 MB / 0.6468 GB, free: 21.06 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)