Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000913/0.0009128, allocations: 98.88 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.001299/0.001299, allocations: 185.4 kB / 16.92 MB, free: 6.703 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.324 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.9928/0.9928, allocations: 143.2 MB / 435.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 0.517 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1955, allocations: 83.41 MB / 0.5985 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3199/0.5155, allocations: 28.93 MB / 0.6267 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009429/0.5249, allocations: 8.129 MB / 0.6347 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.5265, allocations: 25.66 kB / 0.6347 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.5276, allocations: 350.7 kB / 0.635 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.5312, allocations: 1.226 MB / 0.6362 GB, free: 21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.5339, allocations: 1.041 MB / 0.6373 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003923/0.5379, allocations: 4.2 MB / 0.6414 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.5394, allocations: 1.161 MB / 0.6425 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.542, allocations: 1.493 MB / 0.644 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.5444, allocations: 1.594 MB / 0.6455 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003853/0.5448, allocations: 63.91 kB / 0.6456 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.5468, allocations: 0.9384 MB / 0.6465 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.5472, allocations: 335.8 kB / 0.6468 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008697/0.5481, allocations: 0.7071 MB / 0.6475 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.5497, allocations: 1.615 MB / 0.6491 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5497, allocations: 0 / 0.6491 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5497, allocations: 1.469 kB / 0.6491 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.5497, allocations: 0 / 0.6491 GB, free: 16.71 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002199/0.5519, allocations: 1.334 MB / 0.6504 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.552, allocations: 8.031 kB / 0.6504 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.5524, allocations: 148.8 kB / 0.6505 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.5539, allocations: 0.9027 MB / 0.6514 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.554, allocations: 79.7 kB / 0.6515 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.5543, allocations: 116.6 kB / 0.6516 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5554, allocations: 0.6451 MB / 0.6522 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5555, allocations: 0.5312 kB / 0.6522 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.5555, allocations: 25.25 kB / 0.6523 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.5556, allocations: 14.97 kB / 0.6523 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.5565, allocations: 478.6 kB / 0.6527 GB, free: 14.7 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.004673/0.5612, allocations: 2.898 MB / 0.6556 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.5618, allocations: 318.8 kB / 0.6559 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.5622, allocations: 155.8 kB / 0.656 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.5624, allocations: 348 kB / 0.6563 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.5624, allocations: 34.16 kB / 0.6564 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.615e-06/0.5625, allocations: 0 / 0.6564 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001464/0.5639, allocations: 0.5494 MB / 0.6569 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.564, allocations: 55.67 kB / 0.657 GB, free: 12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.5652, allocations: 0.9058 MB / 0.6578 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.5654, allocations: 62.91 kB / 0.6579 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.5658, allocations: 0.529 MB / 0.6584 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.5659, allocations: 114.4 kB / 0.6585 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.566, allocations: 65.33 kB / 0.6586 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.5661, allocations: 334.7 kB / 0.6589 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.5665, allocations: 190.5 kB / 0.6591 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.5677, allocations: 1.153 MB / 0.6602 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008026/0.5685, allocations: 475.1 kB / 0.6607 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5685, allocations: 0 / 0.6607 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001421/0.57, allocations: 0.6691 MB / 0.6613 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.57, allocations: 150.9 kB / 0.6615 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5701, allocations: 2.5 kB / 0.6615 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5701, allocations: 4.938 kB / 0.6615 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5716, allocations: 242 kB / 0.6617 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.5726, allocations: 2.953 MB / 0.6646 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.5764, allocations: 0.7526 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.5765, allocations: 30.62 kB / 0.6654 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5765, allocations: 4.281 kB / 0.6654 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/0.5777, allocations: 0.5019 MB / 0.6658 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5778, allocations: 6.219 kB / 0.6659 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5778, allocations: 6.344 kB / 0.6659 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.5785, allocations: 157.6 kB / 0.666 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.5786, allocations: 14.72 kB / 0.666 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/0.5827, allocations: 0.7341 MB / 0.6667 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5828, allocations: 28.7 kB / 0.6668 GB, free: 5.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008682/0.5837, allocations: 332.4 kB / 0.6671 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.5839, allocations: 98.31 kB / 0.6672 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.5851, allocations: 0.5192 MB / 0.6677 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5852, allocations: 4.734 kB / 0.6677 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5852, allocations: 1.375 kB / 0.6677 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.5852, allocations: 2.656 kB / 0.6677 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.5874, allocations: 1.274 MB / 0.6689 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.5874, allocations: 2.594 kB / 0.6689 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.5879, allocations: 116.4 kB / 0.6691 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.5879, allocations: 6.078 kB / 0.6691 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.588, allocations: 10.89 kB / 0.6691 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008116/0.5888, allocations: 2.947 MB / 0.6719 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5888, allocations: 2.547 kB / 0.6719 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009394/0.5898, allocations: 0.5859 MB / 0.6725 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.5902, allocations: 230.7 kB / 0.6727 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.5903, allocations: 7.344 kB / 0.6727 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.5908, allocations: 64.89 kB / 0.6728 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.5909, allocations: 30.09 kB / 0.6728 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.591, allocations: 16 kB / 0.6729 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008563/0.5918, allocations: 0.606 MB / 0.6734 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5919, allocations: 1.75 kB / 0.6734 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00191/0.5938, allocations: 0.5356 MB / 0.674 GB, free: 404 kB / 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007612/0.5945, allocations: 336.3 kB / 0.6743 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002771/0.5973, allocations: 0.869 MB / 0.6751 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5973, allocations: 0 / 0.6751 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006548/0.598, allocations: 238.7 kB / 0.6754 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.601, allocations: 488.3 kB / 0.6758 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.6041, allocations: 1.92 MB / 0.6777 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.6049, allocations: 1.025 MB / 0.6787 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.6052, allocations: 82.27 kB / 0.6788 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.6052, allocations: 4 kB / 0.6788 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.04955/0.6548, allocations: 36.46 MB / 0.7144 GB, free: 4.664 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)