Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 107.4 kB / 17.04 MB, free: 6.055 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.001665/0.001665, allocations: 196 kB / 17.98 MB, free: 5.141 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7284/0.7284, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.83 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3593, allocations: 76.14 MB / 0.5576 GB, free: 36.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02964/0.389, allocations: 30.72 MB / 0.5876 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.4025, allocations: 10.85 MB / 0.5982 GB, free: 7.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.4042, allocations: 22.12 kB / 0.5982 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.4056, allocations: 395.4 kB / 0.5986 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.4093, allocations: 1.156 MB / 0.5997 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.4116, allocations: 0.8521 MB / 0.6005 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.4145, allocations: 2.061 MB / 0.6025 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.4157, allocations: 0.681 MB / 0.6032 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.4182, allocations: 0.981 MB / 0.6042 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.4195, allocations: 0.6742 MB / 0.6048 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.4197, allocations: 55.44 kB / 0.6049 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.4213, allocations: 0.6199 MB / 0.6055 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.4216, allocations: 161.6 kB / 0.6056 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007981/0.4224, allocations: 439.8 kB / 0.6061 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.4242, allocations: 1.093 MB / 0.6071 GB, free: 1.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4242, allocations: 0 / 0.6071 GB, free: 1.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4242, allocations: 0 / 0.6071 GB, free: 1.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.997e-05/0.4243, allocations: 1.812 kB / 0.6071 GB, free: 1.367 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002143/0.4264, allocations: 1.166 MB / 0.6083 GB, free: 436 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4265, allocations: 13.97 kB / 0.6083 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.4267, allocations: 99.53 kB / 0.6084 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009811/0.4277, allocations: 0.5892 MB / 0.6089 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.4277, allocations: 39.47 kB / 0.609 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.4278, allocations: 55.12 kB / 0.609 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.4286, allocations: 406.4 kB / 0.6094 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4286, allocations: 3.938 kB / 0.6094 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.4286, allocations: 20 kB / 0.6094 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4287, allocations: 12 kB / 0.6095 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.4293, allocations: 303.8 kB / 0.6097 GB, free: 15.09 MB / 462.1 MB 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.002938/0.4322, allocations: 1.854 MB / 0.6116 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.4326, allocations: 178.4 kB / 0.6117 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4328, allocations: 76.81 kB / 0.6118 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.4331, allocations: 348.5 kB / 0.6121 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4331, allocations: 30.56 kB / 0.6122 GB, free: 12.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.4331, allocations: 0 / 0.6122 GB, free: 12.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007443/0.4339, allocations: 310.3 kB / 0.6125 GB, free: 12.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.4339, allocations: 55.41 kB / 0.6125 GB, free: 12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.4347, allocations: 0.6881 MB / 0.6132 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.4347, allocations: 29.7 kB / 0.6132 GB, free: 11.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.435, allocations: 360.7 kB / 0.6136 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.4351, allocations: 70.98 kB / 0.6136 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.4352, allocations: 89.97 kB / 0.6137 GB, free: 10.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4354, allocations: 390.7 kB / 0.6141 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.4357, allocations: 110.3 kB / 0.6142 GB, free: 10.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.436, allocations: 179.5 kB / 0.6144 GB, free: 10.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.4365, allocations: 240.9 kB / 0.6146 GB, free: 9.801 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4365, allocations: 0 / 0.6146 GB, free: 9.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007407/0.4372, allocations: 390.2 kB / 0.615 GB, free: 9.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4372, allocations: 4 kB / 0.615 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4373, allocations: 7.984 kB / 0.615 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4373, allocations: 0 / 0.615 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4383, allocations: 163.9 kB / 0.6151 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.4397, allocations: 2.364 MB / 0.6174 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.4403, allocations: 55.78 kB / 0.6175 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.4404, allocations: 20 kB / 0.6175 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004207/0.4408, allocations: 251.8 kB / 0.6178 GB, free: 6.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002909/0.4411, allocations: 167.5 kB / 0.6179 GB, free: 6.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004148/0.4415, allocations: 236.1 kB / 0.6181 GB, free: 6.031 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.4416, allocations: 3.938 kB / 0.6181 GB, free: 6.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007292/0.4423, allocations: 384.1 kB / 0.6185 GB, free: 5.645 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.4423, allocations: 4 kB / 0.6185 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4423, allocations: 4.109 kB / 0.6185 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.4423, allocations: 3.938 kB / 0.6185 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.4428, allocations: 107.8 kB / 0.6186 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4428, allocations: 4 kB / 0.6186 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.4433, allocations: 39.81 kB / 0.6187 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.4434, allocations: 15.98 kB / 0.6187 GB, free: 5.469 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.4436, allocations: 200.8 kB / 0.6189 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.4437, allocations: 71.16 kB / 0.6189 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.4444, allocations: 308.2 kB / 0.6192 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4445, allocations: 4 kB / 0.6192 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4445, allocations: 0 / 0.6192 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4445, allocations: 0 / 0.6192 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.446, allocations: 0.9071 MB / 0.6201 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.446, allocations: 0 / 0.6201 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.4464, allocations: 71.94 kB / 0.6202 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4464, allocations: 0 / 0.6202 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.4464, allocations: 8.125 kB / 0.6202 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.4476, allocations: 2.36 MB / 0.6225 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4476, allocations: 0 / 0.6225 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/0.4482, allocations: 393 kB / 0.6229 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.4485, allocations: 168.1 kB / 0.623 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.4486, allocations: 4 kB / 0.623 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.4489, allocations: 23.97 kB / 0.6231 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.449, allocations: 15.97 kB / 0.6231 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.449, allocations: 12 kB / 0.6231 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005896/0.4496, allocations: 479 kB / 0.6235 GB, free: 272 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4497, allocations: 0 / 0.6235 GB, free: 272 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001078/0.4507, allocations: 351.2 kB / 0.6239 GB, free: 15.92 MB / 478.1 MB 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005975/0.4513, allocations: 254.9 kB / 0.6241 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.453, allocations: 0.4954 MB / 0.6246 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4531, allocations: 0 / 0.6246 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.4535, allocations: 136.2 kB / 0.6247 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.455, allocations: 335.5 kB / 0.6251 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.4571, allocations: 1.099 MB / 0.6261 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.4576, allocations: 0.9295 MB / 0.627 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004822/0.4581, allocations: 117.3 kB / 0.6272 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4583, allocations: 51.42 kB / 0.6272 GB, free: 12.47 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4583, allocations: 0 / 0.6272 GB, free: 12.47 MB / 478.1 MB Notification: Performance of Templates: time 0.02269/0.481, allocations: 12.58 MB / 0.6395 GB, free: 136 kB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)