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.001112/0.001112, allocations: 104.5 kB / 16.41 MB, free: 6.457 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.001137/0.001137, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 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.8889/0.8889, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.88 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1885, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03386/0.2224, allocations: 17.46 MB / 0.6934 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.2343, allocations: 4.927 MB / 0.6982 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.2355, allocations: 15.88 kB / 0.6982 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.237, allocations: 250.4 kB / 0.6984 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.2398, allocations: 0.614 MB / 0.699 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.2432, allocations: 0.7226 MB / 0.6997 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.2454, allocations: 0.9702 MB / 0.7007 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009858/0.2464, allocations: 340.9 kB / 0.701 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.2478, allocations: 422.3 kB / 0.7014 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008602/0.2487, allocations: 310.7 kB / 0.7017 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.2489, allocations: 28 kB / 0.7017 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.2512, allocations: 0.7253 MB / 0.7024 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.2516, allocations: 135.6 kB / 0.7026 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.2522, allocations: 254.5 kB / 0.7028 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.2547, allocations: 0.8958 MB / 0.7037 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.2547, allocations: 4 kB / 0.7037 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2547, allocations: 0 / 0.7037 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.928e-05/0.2547, allocations: 0 / 0.7037 GB, free: 14.2 MB / 0.545 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.002371/0.2571, allocations: 0.8786 MB / 0.7045 GB, free: 13.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.2572, allocations: 15.97 kB / 0.7046 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.2575, allocations: 64.27 kB / 0.7046 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.2587, allocations: 461.6 kB / 0.7051 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.2588, allocations: 24.5 kB / 0.7051 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.2589, allocations: 32 kB / 0.7051 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.2597, allocations: 286.2 kB / 0.7054 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.2597, allocations: 4 kB / 0.7054 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.2598, allocations: 8 kB / 0.7054 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2598, allocations: 8 kB / 0.7054 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.2605, allocations: 186.1 kB / 0.7056 GB, free: 12.15 MB / 0.545 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.002928/0.2634, allocations: 1.476 MB / 0.707 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.2639, allocations: 162.8 kB / 0.7072 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.2642, allocations: 84.81 kB / 0.7073 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002311/0.2665, allocations: 1.272 MB / 0.7085 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.2666, allocations: 34.5 kB / 0.7085 GB, free: 8.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.2666, allocations: 0 / 0.7085 GB, free: 8.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0009954/0.2676, allocations: 256.6 kB / 0.7088 GB, free: 8.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.2677, allocations: 59.33 kB / 0.7088 GB, free: 8.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2687, allocations: 0.5886 MB / 0.7094 GB, free: 7.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.2688, allocations: 29.7 kB / 0.7094 GB, free: 7.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.2691, allocations: 272.1 kB / 0.7097 GB, free: 7.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.2693, allocations: 51.3 kB / 0.7097 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.2695, allocations: 69.88 kB / 0.7098 GB, free: 7.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.2697, allocations: 362.7 kB / 0.7102 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.27, allocations: 81.94 kB / 0.7102 GB, free: 7.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.2706, allocations: 219.2 kB / 0.7104 GB, free: 6.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.2712, allocations: 233.2 kB / 0.7107 GB, free: 6.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.2713, allocations: 0 / 0.7107 GB, free: 6.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001033/0.2723, allocations: 313 kB / 0.711 GB, free: 6.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.2724, allocations: 15.92 kB / 0.711 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2724, allocations: 0 / 0.711 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.2724, allocations: 4 kB / 0.711 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.2728, allocations: 59.91 kB / 0.711 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.2729, allocations: 4 kB / 0.711 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.2734, allocations: 43.58 kB / 0.7111 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.2735, allocations: 19.98 kB / 0.7111 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005348/0.2741, allocations: 217.3 kB / 0.7113 GB, free: 5.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004476/0.2745, allocations: 205.5 kB / 0.7115 GB, free: 5.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006007/0.2752, allocations: 227 kB / 0.7117 GB, free: 5.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.2752, allocations: 4 kB / 0.7117 GB, free: 5.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009357/0.2761, allocations: 306.7 kB / 0.712 GB, free: 4.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2762, allocations: 12 kB / 0.712 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2762, allocations: 11.94 kB / 0.712 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.2762, allocations: 4 kB / 0.7121 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.2765, allocations: 59.91 kB / 0.7121 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.2766, allocations: 4 kB / 0.7121 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.2771, allocations: 39.75 kB / 0.7122 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.2772, allocations: 16 kB / 0.7122 GB, free: 4.852 MB / 0.545 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.0002038/0.2774, allocations: 204.2 kB / 0.7124 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.2776, allocations: 51.47 kB / 0.7124 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/0.2784, allocations: 251.4 kB / 0.7127 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.2785, allocations: 11.97 kB / 0.7127 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2785, allocations: 192 / 0.7127 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2785, allocations: 0 / 0.7127 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.2801, allocations: 0.7432 MB / 0.7134 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.2802, allocations: 4 kB / 0.7134 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2803, allocations: 31.92 kB / 0.7134 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.2804, allocations: 3.984 kB / 0.7134 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2804, allocations: 8.062 kB / 0.7134 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2804, allocations: 4 kB / 0.7134 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.2804, allocations: 7.984 kB / 0.7134 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007641/0.2812, allocations: 350.2 kB / 0.7138 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.2815, allocations: 152.3 kB / 0.7139 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2816, allocations: 0 / 0.7139 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.2819, allocations: 15.98 kB / 0.7139 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.282, allocations: 11.92 kB / 0.714 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.2821, allocations: 8 kB / 0.714 GB, free: 2.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007929/0.2829, allocations: 418.8 kB / 0.7144 GB, free: 2.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2829, allocations: 4 kB / 0.7144 GB, free: 2.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001167/0.2841, allocations: 231.7 kB / 0.7146 GB, free: 2.246 MB / 0.545 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.001725/0.2858, allocations: 499.2 kB / 0.7151 GB, free: 1.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008898/0.2867, allocations: 324 kB / 0.7154 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2867, allocations: 0 / 0.7154 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.2869, allocations: 87.88 kB / 0.7155 GB, free: 1.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.2886, allocations: 254.9 kB / 0.7157 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.2907, allocations: 0.8344 MB / 0.7165 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.2913, allocations: 0.8428 MB / 0.7173 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.2915, allocations: 43.42 kB / 0.7174 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2915, allocations: 3.938 kB / 0.7174 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.0204/0.3119, allocations: 8.667 MB / 0.7258 GB, free: 6.867 MB / 0.5606 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)