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.004989/0.004989, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.00118/0.00118, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 0.9565/0.9565, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 0.5955 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.417, allocations: 82.03 MB / 0.6756 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0169/0.4339, allocations: 17.46 MB / 0.6927 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00639/0.4404, allocations: 4.908 MB / 0.6975 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.4408, allocations: 17.66 kB / 0.6975 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.4416, allocations: 258.3 kB / 0.6977 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.4429, allocations: 0.6066 MB / 0.6983 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.4446, allocations: 0.7346 MB / 0.6991 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.4456, allocations: 0.9689 MB / 0.7 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.4461, allocations: 336.8 kB / 0.7003 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005882/0.4467, allocations: 426.3 kB / 0.7007 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.447, allocations: 314.6 kB / 0.701 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.4471, allocations: 28 kB / 0.7011 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.4482, allocations: 0.7292 MB / 0.7018 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.4483, allocations: 131.5 kB / 0.7019 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.4485, allocations: 234.7 kB / 0.7021 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.4495, allocations: 0.9053 MB / 0.703 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4495, allocations: 3.938 kB / 0.703 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4495, allocations: 3.938 kB / 0.703 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.4495, allocations: 0 / 0.703 GB, free: 10.36 MB / 0.5294 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.001088/0.4506, allocations: 0.8797 MB / 0.7039 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.4507, allocations: 12.03 kB / 0.7039 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.4508, allocations: 56.28 kB / 0.7039 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.4514, allocations: 473.6 kB / 0.7044 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4514, allocations: 24.5 kB / 0.7044 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.4515, allocations: 28 kB / 0.7044 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.4519, allocations: 290.2 kB / 0.7047 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.452, allocations: 0 / 0.7047 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.452, allocations: 12 kB / 0.7047 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.452, allocations: 4 kB / 0.7047 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.4524, allocations: 190.1 kB / 0.7049 GB, free: 8.309 MB / 0.5294 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.001666/0.4541, allocations: 1.485 MB / 0.7064 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.4544, allocations: 150.8 kB / 0.7065 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4546, allocations: 84.81 kB / 0.7066 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.456, allocations: 1.276 MB / 0.7078 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.456, allocations: 42.44 kB / 0.7079 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.456, allocations: 0 / 0.7079 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000572/0.4566, allocations: 249 kB / 0.7081 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4566, allocations: 59.34 kB / 0.7082 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.4572, allocations: 0.5848 MB / 0.7087 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.4572, allocations: 29.7 kB / 0.7088 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.4574, allocations: 272.1 kB / 0.709 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.4575, allocations: 51.2 kB / 0.7091 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.4576, allocations: 69.97 kB / 0.7091 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4577, allocations: 362.8 kB / 0.7095 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.4579, allocations: 77.94 kB / 0.7096 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.4581, allocations: 211.2 kB / 0.7098 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.4585, allocations: 231.5 kB / 0.71 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4585, allocations: 4 kB / 0.71 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005497/0.4591, allocations: 326.2 kB / 0.7103 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4591, allocations: 9.031 kB / 0.7103 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4591, allocations: 4 kB / 0.7103 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4591, allocations: 4 kB / 0.7103 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.4594, allocations: 59.91 kB / 0.7104 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4594, allocations: 7.984 kB / 0.7104 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.4597, allocations: 47.92 kB / 0.7104 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.4597, allocations: 11.98 kB / 0.7104 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002793/0.46, allocations: 220.6 kB / 0.7106 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002503/0.4603, allocations: 211.5 kB / 0.7108 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003475/0.4606, allocations: 226.7 kB / 0.7111 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.4606, allocations: 7.875 kB / 0.7111 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005154/0.4612, allocations: 311.4 kB / 0.7114 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.4612, allocations: 4 kB / 0.7114 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4612, allocations: 7.938 kB / 0.7114 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.4612, allocations: 4 kB / 0.7114 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.4614, allocations: 59.91 kB / 0.7114 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4614, allocations: 7.938 kB / 0.7114 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.4617, allocations: 44.06 kB / 0.7115 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.4618, allocations: 16 kB / 0.7115 GB, free: 1 MB / 0.5294 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.0001028/0.4619, allocations: 196.1 kB / 0.7117 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.462, allocations: 59.22 kB / 0.7118 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.4625, allocations: 253.8 kB / 0.712 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4625, allocations: 0 / 0.712 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4625, allocations: 0 / 0.712 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4625, allocations: 3.984 kB / 0.712 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/0.4634, allocations: 0.7432 MB / 0.7127 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4634, allocations: 4.125 kB / 0.7127 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.4636, allocations: 27.98 kB / 0.7128 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4636, allocations: 4 kB / 0.7128 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4636, allocations: 4 kB / 0.7128 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4636, allocations: 4 kB / 0.7128 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4636, allocations: 0 / 0.7128 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.464, allocations: 350.2 kB / 0.7131 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4642, allocations: 152.3 kB / 0.7132 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.4642, allocations: 4.188 kB / 0.7132 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.4644, allocations: 11.98 kB / 0.7133 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.4645, allocations: 23.91 kB / 0.7133 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.4645, allocations: 8 kB / 0.7133 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004037/0.4649, allocations: 418.8 kB / 0.7137 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4649, allocations: 0 / 0.7137 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006368/0.4655, allocations: 227.7 kB / 0.7139 GB, free: 14.41 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.00102/0.4666, allocations: 0.4925 MB / 0.7144 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006588/0.4672, allocations: 335.4 kB / 0.7147 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4673, allocations: 0 / 0.7147 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.4674, allocations: 84.95 kB / 0.7148 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4686, allocations: 252.6 kB / 0.715 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4697, allocations: 0.7976 MB / 0.7158 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4701, allocations: 0.8389 MB / 0.7166 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.4704, allocations: 104.6 kB / 0.7167 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.4704, allocations: 43.42 kB / 0.7168 GB, free: 11.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4705, allocations: 0 / 0.7168 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Templates: time 0.01738/0.4878, allocations: 10.34 MB / 0.7269 GB, free: 1.359 MB / 0.545 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)