Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007921/0.007921, allocations: 101 kB / 15.87 MB, free: 5.863 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.001911/0.001911, allocations: 189.4 kB / 16.79 MB, free: 5.805 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.562 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 1.055/1.055, allocations: 143 MB / 433.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.5141 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1857, allocations: 82.04 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4887/0.6744, allocations: 153.4 MB / 0.744 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04611/0.7206, allocations: 30.49 MB / 0.7738 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008678/0.7293, allocations: 127.1 kB / 0.7739 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.7335, allocations: 0.8311 MB / 0.7747 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.7455, allocations: 2.894 MB / 0.7776 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008491/0.754, allocations: 2.285 MB / 0.7798 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01289/0.7669, allocations: 7.391 MB / 0.787 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00506/0.772, allocations: 1.9 MB / 0.7889 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008034/0.7801, allocations: 2.427 MB / 0.7912 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004865/0.785, allocations: 1.976 MB / 0.7932 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000649/0.7857, allocations: 124 kB / 0.7933 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.7889, allocations: 0.9593 MB / 0.7942 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005981/0.7895, allocations: 485.8 kB / 0.7947 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002045/0.7915, allocations: 1.177 MB / 0.7958 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.7947, allocations: 2.63 MB / 0.7984 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7947, allocations: 0 / 0.7984 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7947, allocations: 0 / 0.7984 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.926e-05/0.7948, allocations: 0 / 0.7984 GB, free: 12.75 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005709/0.8005, allocations: 2.801 MB / 0.8011 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8006, allocations: 12.03 kB / 0.8011 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/0.8012, allocations: 264.8 kB / 0.8014 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.8037, allocations: 1.446 MB / 0.8028 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/0.8038, allocations: 106.3 kB / 0.8029 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.804, allocations: 143.9 kB / 0.803 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.8062, allocations: 1.159 MB / 0.8042 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.8063, allocations: 0 / 0.8042 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.8064, allocations: 47.94 kB / 0.8042 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.8064, allocations: 28 kB / 0.8042 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.8083, allocations: 1.016 MB / 0.8052 GB, free: 5.562 MB / 0.6231 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.01116/0.8195, allocations: 6.315 MB / 0.8114 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.8205, allocations: 0.5797 MB / 0.812 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.821, allocations: 384.3 kB / 0.8123 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000385/0.8214, allocations: 0.5069 MB / 0.8128 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.8215, allocations: 39.12 kB / 0.8129 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001744/0.8232, allocations: 334.7 kB / 0.8132 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.599e-06/0.8232, allocations: 0 / 0.8132 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002156/0.8254, allocations: 1.121 MB / 0.8143 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.8255, allocations: 55.97 kB / 0.8143 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.8279, allocations: 1.904 MB / 0.8162 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.78e-05/0.828, allocations: 41.7 kB / 0.8162 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008197/0.8288, allocations: 0.9185 MB / 0.8171 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.829, allocations: 209 kB / 0.8173 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.8294, allocations: 298.6 kB / 0.8176 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8296, allocations: 345.9 kB / 0.818 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.8303, allocations: 441.9 kB / 0.8184 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009964/0.8313, allocations: 0.6645 MB / 0.819 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.8329, allocations: 0.9461 MB / 0.8199 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.833, allocations: 0 / 0.8199 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002639/0.8356, allocations: 1.381 MB / 0.8213 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8356, allocations: 8 kB / 0.8213 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.8357, allocations: 4 kB / 0.8213 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.8357, allocations: 8 kB / 0.8213 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.8369, allocations: 271.6 kB / 0.8216 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.837, allocations: 12.38 kB / 0.8216 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.8389, allocations: 152.4 kB / 0.8217 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.839, allocations: 59.95 kB / 0.8218 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001554/0.8406, allocations: 0.6938 MB / 0.8225 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/0.8416, allocations: 0.6488 MB / 0.8231 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/0.8431, allocations: 0.8954 MB / 0.824 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.504e-06/0.8432, allocations: 0 / 0.824 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002513/0.8457, allocations: 1.322 MB / 0.8253 GB, free: 132 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8457, allocations: 9.5 kB / 0.8253 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.8457, allocations: 6.109 kB / 0.8253 GB, free: 120 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8457, allocations: 8.375 kB / 0.8253 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.8469, allocations: 275.6 kB / 0.8255 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.847, allocations: 8 kB / 0.8256 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.8489, allocations: 147.6 kB / 0.8257 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.849, allocations: 63.89 kB / 0.8258 GB, free: 15.62 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0003865/0.8494, allocations: 240 kB / 0.826 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/0.85, allocations: 197.5 kB / 0.8262 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.8523, allocations: 1.071 MB / 0.8272 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.8523, allocations: 8 kB / 0.8272 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.8523, allocations: 0 / 0.8272 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.8523, allocations: 11.92 kB / 0.8272 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.8568, allocations: 2.421 MB / 0.8296 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.8568, allocations: 0 / 0.8296 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.8574, allocations: 135.8 kB / 0.8297 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.8574, allocations: 7.938 kB / 0.8297 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.8574, allocations: 28.17 kB / 0.8298 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.8575, allocations: 4 kB / 0.8298 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8575, allocations: 4 kB / 0.8298 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.8591, allocations: 1.054 MB / 0.8308 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009649/0.8601, allocations: 358.2 kB / 0.8311 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/0.8605, allocations: 16 kB / 0.8312 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.8617, allocations: 95.75 kB / 0.8313 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.8619, allocations: 48.59 kB / 0.8313 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.8619, allocations: 23.98 kB / 0.8313 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00211/0.864, allocations: 1.256 MB / 0.8325 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.72e-07/0.8641, allocations: 4 kB / 0.8326 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002837/0.8669, allocations: 0.8848 MB / 0.8334 GB, free: 7.609 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * 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.0008771/0.8678, allocations: 352.4 kB / 0.8338 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003146/0.8709, allocations: 1.567 MB / 0.8353 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.871, allocations: 4 kB / 0.8353 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.8716, allocations: 396.9 kB / 0.8357 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005677/0.8773, allocations: 1.146 MB / 0.8368 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/0.8838, allocations: 3.755 MB / 0.8405 GB, free: 392 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.8851, allocations: 1.405 MB / 0.8418 GB, free: 14.94 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.8858, allocations: 163.4 kB / 0.842 GB, free: 14.78 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/0.8858, allocations: 0 / 0.842 GB, free: 14.78 MB / 0.67 GB Notification: Performance of Templates: time 0.3331/1.219, allocations: 31.3 MB / 0.8725 GB, free: 201.7 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)