Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 114.4 kB / 16.42 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.001128/0.001128, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.15 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.8477/0.8477, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.48 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4311/0.5816, allocations: 112.7 MB / 0.7863 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.6067, allocations: 20.27 MB / 0.8061 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003913/0.6106, allocations: 108.4 kB / 0.8062 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.6137, allocations: 1.293 MB / 0.8075 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008633/0.6224, allocations: 3.888 MB / 0.8113 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006546/0.6289, allocations: 3.136 MB / 0.8143 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009843/0.6388, allocations: 7.224 MB / 0.8214 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004306/0.6431, allocations: 2.577 MB / 0.8239 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006322/0.6495, allocations: 2.893 MB / 0.8267 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003649/0.6531, allocations: 2.129 MB / 0.8288 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004996/0.6536, allocations: 253.3 kB / 0.8291 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.6573, allocations: 1.646 MB / 0.8307 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006662/0.658, allocations: 0.6928 MB / 0.8314 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.6599, allocations: 1.508 MB / 0.8328 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.6655, allocations: 4.618 MB / 0.8373 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6655, allocations: 3.938 kB / 0.8373 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6655, allocations: 0 / 0.8373 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.81e-05/0.6656, allocations: 0 / 0.8373 GB, free: 15.86 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004963/0.6705, allocations: 3.238 MB / 0.8405 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6706, allocations: 12.03 kB / 0.8405 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007262/0.6713, allocations: 320.8 kB / 0.8408 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.6748, allocations: 2.205 MB / 0.843 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.6749, allocations: 127 kB / 0.8431 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.6752, allocations: 168 kB / 0.8433 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.6778, allocations: 1.604 MB / 0.8448 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.6778, allocations: 4 kB / 0.8448 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.678, allocations: 63.98 kB / 0.8449 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.678, allocations: 43.98 kB / 0.8449 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.6801, allocations: 1.159 MB / 0.8461 GB, free: 6.715 MB / 0.6075 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.01022/0.6903, allocations: 7.916 MB / 0.8538 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/0.6911, allocations: 470.6 kB / 0.8542 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.6917, allocations: 330.9 kB / 0.8546 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/0.6924, allocations: 0.7563 MB / 0.8553 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.6924, allocations: 43.12 kB / 0.8553 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.857e-06/0.6924, allocations: 0 / 0.8553 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.002071/0.6945, allocations: 0.9919 MB / 0.8563 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.6945, allocations: 59.97 kB / 0.8564 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.6978, allocations: 2.335 MB / 0.8586 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.6979, allocations: 41.7 kB / 0.8587 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/0.6989, allocations: 1.157 MB / 0.8598 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.6991, allocations: 217 kB / 0.86 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/0.6995, allocations: 258.5 kB / 0.8603 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6996, allocations: 345.9 kB / 0.8606 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.7004, allocations: 365.9 kB / 0.8609 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.7015, allocations: 0.7463 MB / 0.8617 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.7031, allocations: 0.9824 MB / 0.8626 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.7031, allocations: 0 / 0.8626 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002399/0.7055, allocations: 1.296 MB / 0.8639 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.7055, allocations: 9.719 kB / 0.8639 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.7055, allocations: 8 kB / 0.8639 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.7056, allocations: 19.94 kB / 0.8639 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/0.7066, allocations: 251.6 kB / 0.8642 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.7066, allocations: 19.94 kB / 0.8642 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.7081, allocations: 162.4 kB / 0.8643 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/0.7082, allocations: 51.98 kB / 0.8644 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001426/0.7096, allocations: 0.7609 MB / 0.8651 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001006/0.7106, allocations: 0.7387 MB / 0.8659 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/0.7121, allocations: 0.9523 MB / 0.8668 GB, free: 164 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.7121, allocations: 0 / 0.8668 GB, free: 164 kB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002466/0.7146, allocations: 1.258 MB / 0.868 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7146, allocations: 11.94 kB / 0.868 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.7146, allocations: 8.281 kB / 0.868 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7146, allocations: 16 kB / 0.868 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.7156, allocations: 251.6 kB / 0.8683 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.7156, allocations: 19.92 kB / 0.8683 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.7171, allocations: 127.4 kB / 0.8684 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/0.7172, allocations: 47.98 kB / 0.8685 GB, free: 14.42 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.000284/0.7175, allocations: 244 kB / 0.8687 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005398/0.7181, allocations: 244.9 kB / 0.8689 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.72, allocations: 0.8993 MB / 0.8698 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.7211, allocations: 0.6775 MB / 0.8705 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7211, allocations: 4 kB / 0.8705 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008055/0.7219, allocations: 417.9 kB / 0.8709 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/0.7223, allocations: 16 kB / 0.8709 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7233, allocations: 43.94 kB / 0.8709 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.7234, allocations: 44.5 kB / 0.871 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001601/0.725, allocations: 0.7758 MB / 0.8717 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002181/0.7272, allocations: 1.391 MB / 0.8731 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004836/0.7277, allocations: 316.4 kB / 0.8734 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002571/0.7303, allocations: 1.569 MB / 0.8749 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of Backend: time 3.91e-07/0.7303, allocations: 4 kB / 0.8749 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005185/0.7355, allocations: 2.047 MB / 0.8769 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of SimCode: time 0.009593/0.7451, allocations: 5.187 MB / 0.882 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of Templates: time 0.07504/0.8202, allocations: 49.28 MB / 0.9301 GB, free: 15.86 MB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)