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.001274/0.001274, allocations: 120.4 kB / 16.42 MB, free: 6.027 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.001176/0.001176, allocations: 187.5 kB / 17.35 MB, free: 5.625 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.332/1.332, 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.8976/0.8976, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 69.14 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1403, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.454/0.5944, allocations: 112.7 MB / 0.7863 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.62, allocations: 20.28 MB / 0.8061 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004167/0.6242, allocations: 108.8 kB / 0.8062 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.6276, allocations: 1.297 MB / 0.8075 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009484/0.6371, allocations: 3.881 MB / 0.8113 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006954/0.6441, allocations: 3.126 MB / 0.8143 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008907/0.653, allocations: 7.237 MB / 0.8214 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.6565, allocations: 2.572 MB / 0.8239 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/0.6625, allocations: 2.889 MB / 0.8267 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.6656, allocations: 2.124 MB / 0.8288 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.6662, allocations: 255.4 kB / 0.8291 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.6702, allocations: 1.654 MB / 0.8307 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006592/0.6709, allocations: 0.6889 MB / 0.8313 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.6726, allocations: 1.508 MB / 0.8328 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00605/0.6787, allocations: 4.635 MB / 0.8373 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6787, allocations: 3.938 kB / 0.8374 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6787, allocations: 0 / 0.8374 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.697e-05/0.6788, allocations: 0 / 0.8374 GB, free: 15.83 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.004921/0.6837, allocations: 3.332 MB / 0.8406 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6837, allocations: 8.031 kB / 0.8406 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007209/0.6845, allocations: 338.5 kB / 0.8409 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.6879, allocations: 2.231 MB / 0.8431 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.816e-05/0.688, allocations: 127 kB / 0.8432 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.6883, allocations: 164 kB / 0.8434 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.6908, allocations: 1.619 MB / 0.845 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.6909, allocations: 7.984 kB / 0.845 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.691, allocations: 64 kB / 0.845 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.6911, allocations: 43.98 kB / 0.8451 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.6931, allocations: 1.151 MB / 0.8462 GB, free: 6.551 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.009834/0.7029, allocations: 7.93 MB / 0.854 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.7037, allocations: 475.8 kB / 0.8544 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.7042, allocations: 330.9 kB / 0.8547 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.7048, allocations: 0.7563 MB / 0.8555 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.7049, allocations: 39.12 kB / 0.8555 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 4.719e-06/0.7049, allocations: 4 kB / 0.8555 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001979/0.7069, allocations: 0.9972 MB / 0.8565 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.7069, allocations: 59.97 kB / 0.8565 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.7099, allocations: 2.336 MB / 0.8588 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.7101, allocations: 49.7 kB / 0.8589 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009465/0.711, allocations: 1.178 MB / 0.86 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.7112, allocations: 222.1 kB / 0.8602 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/0.7116, allocations: 262.7 kB / 0.8605 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7117, allocations: 349.9 kB / 0.8608 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.7124, allocations: 361.9 kB / 0.8612 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009719/0.7133, allocations: 0.7463 MB / 0.8619 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.7148, allocations: 0.9784 MB / 0.8628 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7148, allocations: 4 kB / 0.8628 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002205/0.717, allocations: 1.308 MB / 0.8641 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.717, allocations: 8 kB / 0.8641 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7171, allocations: 8 kB / 0.8641 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.7171, allocations: 16 kB / 0.8641 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009527/0.7181, allocations: 251.6 kB / 0.8644 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.7181, allocations: 16.41 kB / 0.8644 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.7194, allocations: 170.8 kB / 0.8646 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.7195, allocations: 51.98 kB / 0.8646 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001331/0.7208, allocations: 0.757 MB / 0.8654 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009441/0.7218, allocations: 0.7466 MB / 0.8661 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001343/0.7231, allocations: 0.9483 MB / 0.867 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.571e-06/0.7231, allocations: 8 kB / 0.867 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002043/0.7252, allocations: 1.271 MB / 0.8683 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7252, allocations: 11.94 kB / 0.8683 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.7252, allocations: 8 kB / 0.8683 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7253, allocations: 16.78 kB / 0.8683 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.7261, allocations: 243.6 kB / 0.8685 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.7262, allocations: 27.92 kB / 0.8686 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7274, allocations: 127.4 kB / 0.8687 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.7275, allocations: 47.98 kB / 0.8687 GB, free: 14.17 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.0002387/0.7278, allocations: 244 kB / 0.869 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.7281, allocations: 254.3 kB / 0.8692 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.7297, allocations: 0.8927 MB / 0.8701 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009843/0.7307, allocations: 0.6814 MB / 0.8707 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7307, allocations: 0 / 0.8707 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005819/0.7313, allocations: 431.2 kB / 0.8711 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.7316, allocations: 12 kB / 0.8712 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/0.7324, allocations: 51.89 kB / 0.8712 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.7325, allocations: 40.5 kB / 0.8712 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00145/0.734, allocations: 0.7798 MB / 0.872 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001907/0.7359, allocations: 1.404 MB / 0.8734 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004598/0.7364, allocations: 324.3 kB / 0.8737 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002018/0.7384, allocations: 1.562 MB / 0.8752 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of Backend: time 3.7e-07/0.7384, allocations: 0 / 0.8752 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004541/0.743, allocations: 2.053 MB / 0.8772 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of SimCode: time 0.008591/0.7516, allocations: 5.253 MB / 0.8823 GB, free: 300 kB / 0.6387 GB Notification: Performance of Templates: time 0.07744/0.829, allocations: 49.29 MB / 0.9305 GB, free: 15.49 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)