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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.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.001447/0.001447, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009564/0.009564, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.014/1.014, allocations: 143.4 MB / 434.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 12 kB / 0.5166 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 83.41 MB / 0.5981 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4127/0.5743, allocations: 110.1 MB / 0.7056 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0351/0.6094, allocations: 20.13 MB / 0.7253 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005381/0.6149, allocations: 91.34 kB / 0.7254 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.619, allocations: 1.043 MB / 0.7264 GB, free: 2.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.6311, allocations: 3.376 MB / 0.7297 GB, free: 12 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008833/0.64, allocations: 2.876 MB / 0.7325 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01326/0.6532, allocations: 9.534 MB / 0.7418 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003959/0.6572, allocations: 2.081 MB / 0.7439 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005689/0.6629, allocations: 2.317 MB / 0.7461 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004132/0.6671, allocations: 2.034 MB / 0.7481 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005952/0.6677, allocations: 92 kB / 0.7482 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00429/0.672, allocations: 1.454 MB / 0.7496 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008021/0.6728, allocations: 0.5093 MB / 0.7501 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.6753, allocations: 1.338 MB / 0.7514 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00626/0.6815, allocations: 4.368 MB / 0.7557 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6816, allocations: 0 / 0.7557 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6816, allocations: 0 / 0.7557 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001164/0.6817, allocations: 0 / 0.7557 GB, free: 10.29 MB / 0.5762 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.005361/0.6871, allocations: 2.696 MB / 0.7583 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6871, allocations: 8.031 kB / 0.7583 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.6879, allocations: 324.8 kB / 0.7586 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.6914, allocations: 2.166 MB / 0.7608 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.6915, allocations: 123 kB / 0.7609 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.6918, allocations: 164 kB / 0.761 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.6945, allocations: 1.619 MB / 0.7626 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.6945, allocations: 4 kB / 0.7626 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.6947, allocations: 60 kB / 0.7627 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.6947, allocations: 44 kB / 0.7627 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.6967, allocations: 1.159 MB / 0.7638 GB, free: 1.727 MB / 0.5762 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.01002/0.7067, allocations: 7.916 MB / 0.7716 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.7075, allocations: 486 kB / 0.772 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.708, allocations: 327.5 kB / 0.7724 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.7086, allocations: 0.7602 MB / 0.7731 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.7087, allocations: 43.06 kB / 0.7731 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.7087, allocations: 0 / 0.7731 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001902/0.7106, allocations: 0.9999 MB / 0.7741 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7106, allocations: 59.97 kB / 0.7742 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.7135, allocations: 2.316 MB / 0.7764 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.7136, allocations: 49.7 kB / 0.7765 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008601/0.7145, allocations: 1.149 MB / 0.7776 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.7147, allocations: 216.9 kB / 0.7778 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.7148, allocations: 109.7 kB / 0.7779 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7149, allocations: 349.9 kB / 0.7782 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.7156, allocations: 354.5 kB / 0.7786 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008726/0.7164, allocations: 0.758 MB / 0.7793 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.7178, allocations: 0.9903 MB / 0.7803 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7178, allocations: 4 kB / 0.7803 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002037/0.7198, allocations: 1.299 MB / 0.7816 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.72, allocations: 342.9 kB / 0.7819 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.7201, allocations: 8 kB / 0.7819 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.7201, allocations: 15.98 kB / 0.7819 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.721, allocations: 259.6 kB / 0.7822 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.7211, allocations: 19.94 kB / 0.7822 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.7227, allocations: 246.2 kB / 0.7824 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/0.7227, allocations: 55.98 kB / 0.7825 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/0.7228, allocations: 4 kB / 0.7825 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/0.7244, allocations: 1.023 MB / 0.7835 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.7244, allocations: 19.86 kB / 0.7835 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7244, allocations: 20.56 kB / 0.7835 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.7253, allocations: 251.6 kB / 0.7837 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.7253, allocations: 19.94 kB / 0.7838 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.7267, allocations: 222.5 kB / 0.784 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.7267, allocations: 55.98 kB / 0.784 GB, free: 11.89 MB / 0.6075 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.0008248/0.7276, allocations: 0.571 MB / 0.7846 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.7278, allocations: 244.9 kB / 0.7848 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.7293, allocations: 0.8944 MB / 0.7857 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.7294, allocations: 4 kB / 0.7857 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7294, allocations: 11.98 kB / 0.7857 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009504/0.7303, allocations: 0.6892 MB / 0.7864 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.7337, allocations: 2.582 MB / 0.7889 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7337, allocations: 4 kB / 0.7889 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.7342, allocations: 127.9 kB / 0.789 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.7342, allocations: 4 kB / 0.789 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.7342, allocations: 24.08 kB / 0.7891 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7343, allocations: 7.938 kB / 0.7891 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7343, allocations: 0 / 0.7891 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.736, allocations: 1.329 MB / 0.7904 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/0.7366, allocations: 458.2 kB / 0.7908 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.7368, allocations: 16 kB / 0.7908 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7378, allocations: 115.7 kB / 0.7909 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.7379, allocations: 48.44 kB / 0.791 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.738, allocations: 35.95 kB / 0.791 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001858/0.7398, allocations: 1.554 MB / 0.7925 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7398, allocations: 0 / 0.7925 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002197/0.742, allocations: 1.095 MB / 0.7936 GB, free: 1.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001463/0.7435, allocations: 0.7453 MB / 0.7943 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.7456, allocations: 1.37 MB / 0.7957 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7456, allocations: 4 kB / 0.7957 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.7461, allocations: 335 kB / 0.796 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006659/0.7528, allocations: 1.392 MB / 0.7973 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.7586, allocations: 4.603 MB / 0.8018 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.7596, allocations: 1.586 MB / 0.8034 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001927/0.7616, allocations: 0.4938 MB / 0.8039 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.7619, allocations: 179.3 kB / 0.804 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of SimCode: time 6.22e-07/0.7619, allocations: 4 kB / 0.804 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of Templates: time 0.07072/0.8327, allocations: 45.38 MB / 0.8484 GB, free: 10.58 MB / 0.67 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)