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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.001043/0.001043, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00103/0.00103, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9732/0.9732, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 12 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 83.4 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.2789/0.4475, allocations: 14.72 MB / 0.6117 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007743/0.4553, allocations: 4.231 MB / 0.6158 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006908/0.456, allocations: 13.69 kB / 0.6158 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.4572, allocations: 233.2 kB / 0.616 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.4593, allocations: 0.5615 MB / 0.6166 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.4622, allocations: 0.7549 MB / 0.6173 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.4637, allocations: 0.5898 MB / 0.6179 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.4642, allocations: 265.2 kB / 0.6181 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000747/0.465, allocations: 335.5 kB / 0.6185 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.4654, allocations: 220.6 kB / 0.6187 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.4655, allocations: 14.44 kB / 0.6187 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4673, allocations: 464.1 kB / 0.6191 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.4675, allocations: 110.9 kB / 0.6192 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.4676, allocations: 113 kB / 0.6193 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4687, allocations: 0.5612 MB / 0.6199 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4687, allocations: 0 / 0.6199 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4688, allocations: 2.906 kB / 0.6199 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.4688, allocations: 3.938 kB / 0.6199 GB, free: 33.08 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.00164/0.4704, allocations: 0.7809 MB / 0.6207 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4705, allocations: 8.719 kB / 0.6207 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.4708, allocations: 63.06 kB / 0.6207 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.4716, allocations: 436.5 kB / 0.6211 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.4717, allocations: 24.38 kB / 0.6212 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.4717, allocations: 32.34 kB / 0.6212 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.4725, allocations: 284 kB / 0.6215 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4725, allocations: 0.875 kB / 0.6215 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.4726, allocations: 14.97 kB / 0.6215 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4726, allocations: 6 kB / 0.6215 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.4732, allocations: 197.8 kB / 0.6217 GB, free: 31.88 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.002212/0.4755, allocations: 1.484 MB / 0.6231 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.4759, allocations: 169.1 kB / 0.6233 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/0.4777, allocations: 1.281 MB / 0.6245 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.4777, allocations: 41.89 kB / 0.6246 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/0.4777, allocations: 3.938 kB / 0.6246 GB, free: 29.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0008441/0.4786, allocations: 257.7 kB / 0.6248 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.4786, allocations: 62.64 kB / 0.6249 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.4794, allocations: 0.5786 MB / 0.6255 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4794, allocations: 32.73 kB / 0.6255 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4796, allocations: 273.3 kB / 0.6257 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.4796, allocations: 51.41 kB / 0.6258 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.4796, allocations: 7.938 kB / 0.6258 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.4797, allocations: 362.8 kB / 0.6261 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4799, allocations: 80.84 kB / 0.6262 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.4801, allocations: 213.7 kB / 0.6264 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4803, allocations: 96.73 kB / 0.6265 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4803, allocations: 2.625 kB / 0.6265 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006327/0.481, allocations: 321.6 kB / 0.6268 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.4812, allocations: 0.9625 MB / 0.6278 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4813, allocations: 2.906 kB / 0.6278 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.4813, allocations: 8.094 kB / 0.6278 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.4817, allocations: 68.78 kB / 0.6278 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.4817, allocations: 10.58 kB / 0.6279 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.4822, allocations: 52.41 kB / 0.6279 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.4823, allocations: 15.03 kB / 0.6279 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4823, allocations: 2.5 kB / 0.6279 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006367/0.4829, allocations: 247.2 kB / 0.6282 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4829, allocations: 3.031 kB / 0.6282 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.483, allocations: 6.562 kB / 0.6282 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.4833, allocations: 72.44 kB / 0.6282 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4833, allocations: 8.719 kB / 0.6282 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.4837, allocations: 38.62 kB / 0.6283 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.4838, allocations: 19.31 kB / 0.6283 GB, free: 26.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002667/0.484, allocations: 257.9 kB / 0.6285 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.4841, allocations: 57.05 kB / 0.6286 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007529/0.4849, allocations: 261.3 kB / 0.6288 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.4849, allocations: 6.812 kB / 0.6289 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4849, allocations: 0 / 0.6289 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.485, allocations: 3.188 kB / 0.6289 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.4862, allocations: 0.7496 MB / 0.6296 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4863, allocations: 2.719 kB / 0.6296 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.4864, allocations: 31.27 kB / 0.6296 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4864, allocations: 3 kB / 0.6296 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.4865, allocations: 6.828 kB / 0.6296 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.237e-06/0.4865, allocations: 2.844 kB / 0.6296 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4865, allocations: 0 / 0.6296 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.487, allocations: 416 kB / 0.63 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.4872, allocations: 155.2 kB / 0.6302 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.4873, allocations: 4.5 kB / 0.6302 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.4877, allocations: 25.8 kB / 0.6302 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.4877, allocations: 16.06 kB / 0.6302 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.4878, allocations: 5.688 kB / 0.6302 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005621/0.4883, allocations: 419.5 kB / 0.6306 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4883, allocations: 3.938 kB / 0.6306 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001179/0.4895, allocations: 221.5 kB / 0.6308 GB, free: 25.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.4909, allocations: 0.4986 MB / 0.6313 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009768/0.4919, allocations: 328 kB / 0.6316 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.492, allocations: 0 / 0.6316 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.4922, allocations: 92.66 kB / 0.6317 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.4941, allocations: 254.2 kB / 0.632 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4958, allocations: 0.9627 MB / 0.6329 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.4962, allocations: 0.8553 MB / 0.6337 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000519/0.4967, allocations: 112.2 kB / 0.6339 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4969, allocations: 38.61 kB / 0.6339 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.4969, allocations: 4 kB / 0.6339 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.02535/0.5222, allocations: 9.675 MB / 0.6433 GB, free: 22.71 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: