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.001213/0.001218, allocations: 105.1 kB / 15.98 MB, free: 5.906 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.001173/0.001173, allocations: 195.8 kB / 16.91 MB, free: 5.754 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7941/0.7941, allocations: 122.9 MB / 413.6 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4421, allocations: 77.92 MB / 0.5667 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02702/0.4692, allocations: 30.5 MB / 0.5965 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.4806, allocations: 10.78 MB / 0.607 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.4825, allocations: 28.31 kB / 0.607 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.4841, allocations: 328.1 kB / 0.6073 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004676/0.4888, allocations: 1.064 MB / 0.6084 GB, free: 236 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.4923, allocations: 0.7633 MB / 0.6091 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004251/0.4966, allocations: 2.071 MB / 0.6112 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.4985, allocations: 0.666 MB / 0.6118 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.5017, allocations: 0.9842 MB / 0.6128 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.5037, allocations: 0.6847 MB / 0.6134 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00027/0.504, allocations: 56 kB / 0.6135 GB, free: 11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.5062, allocations: 0.6082 MB / 0.6141 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.5066, allocations: 171.2 kB / 0.6142 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00092/0.5076, allocations: 433.7 kB / 0.6147 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.51, allocations: 1.088 MB / 0.6157 GB, free: 8.711 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.51, allocations: 0 / 0.6157 GB, free: 8.711 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.51, allocations: 0 / 0.6157 GB, free: 8.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.019e-05/0.5101, allocations: 4 kB / 0.6157 GB, free: 8.707 MB / 462.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.003275/0.5134, allocations: 1.16 MB / 0.6169 GB, free: 7.492 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.408e-05/0.5134, allocations: 8.625 kB / 0.6169 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.5139, allocations: 99.72 kB / 0.617 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.5154, allocations: 0.5657 MB / 0.6175 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.5155, allocations: 41 kB / 0.6176 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.5156, allocations: 59.98 kB / 0.6176 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.517, allocations: 410.4 kB / 0.618 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5171, allocations: 0 / 0.618 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.5171, allocations: 20 kB / 0.618 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.5172, allocations: 8 kB / 0.618 GB, free: 6.246 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.5181, allocations: 303.8 kB / 0.6183 GB, free: 5.949 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.004399/0.5225, allocations: 1.857 MB / 0.6201 GB, free: 3.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.5231, allocations: 170.5 kB / 0.6203 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.5234, allocations: 76.81 kB / 0.6204 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.5239, allocations: 344.4 kB / 0.6207 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.5239, allocations: 30.56 kB / 0.6207 GB, free: 3.238 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.5239, allocations: 0 / 0.6207 GB, free: 3.238 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001053/0.525, allocations: 308.6 kB / 0.621 GB, free: 2.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.525, allocations: 55.41 kB / 0.6211 GB, free: 2.863 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.5262, allocations: 0.6805 MB / 0.6217 GB, free: 2.172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.5262, allocations: 29.7 kB / 0.6218 GB, free: 2.137 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.5266, allocations: 368.7 kB / 0.6221 GB, free: 1.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/0.5267, allocations: 63.09 kB / 0.6222 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.5269, allocations: 93.95 kB / 0.6223 GB, free: 1.609 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.5272, allocations: 378.7 kB / 0.6226 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.5276, allocations: 118.3 kB / 0.6227 GB, free: 1.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.5281, allocations: 179.5 kB / 0.6229 GB, free: 0.918 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.5288, allocations: 245 kB / 0.6231 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5288, allocations: 3.938 kB / 0.6231 GB, free: 0.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001072/0.5299, allocations: 397.8 kB / 0.6235 GB, free: 280 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.53, allocations: 4 kB / 0.6235 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.53, allocations: 0 / 0.6235 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.53, allocations: 4 kB / 0.6235 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.5314, allocations: 163.8 kB / 0.6237 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.5335, allocations: 2.36 MB / 0.626 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/0.5344, allocations: 83.84 kB / 0.6261 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.5345, allocations: 19.98 kB / 0.6261 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006018/0.5351, allocations: 247.8 kB / 0.6263 GB, free: 13.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004086/0.5355, allocations: 183.5 kB / 0.6265 GB, free: 13.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005875/0.5361, allocations: 231.7 kB / 0.6267 GB, free: 12.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.786e-06/0.5361, allocations: 4 kB / 0.6267 GB, free: 12.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001071/0.5372, allocations: 376.7 kB / 0.6271 GB, free: 12.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5373, allocations: 4 kB / 0.6271 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5373, allocations: 4 kB / 0.6271 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.5373, allocations: 0 / 0.6271 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.538, allocations: 103.8 kB / 0.6272 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.538, allocations: 8.062 kB / 0.6272 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.5389, allocations: 71.72 kB / 0.6273 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.5389, allocations: 19.98 kB / 0.6273 GB, free: 12.28 MB / 478.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.0001929/0.5391, allocations: 196.2 kB / 0.6275 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.5393, allocations: 67.09 kB / 0.6275 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009302/0.5403, allocations: 318 kB / 0.6278 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.5403, allocations: 4 kB / 0.6278 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5403, allocations: 0 / 0.6278 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5403, allocations: 0 / 0.6278 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.5422, allocations: 0.8937 MB / 0.6287 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5422, allocations: 4 kB / 0.6287 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.5426, allocations: 71.88 kB / 0.6288 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.5426, allocations: 4 kB / 0.6288 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5426, allocations: 7.938 kB / 0.6288 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.5438, allocations: 2.356 MB / 0.6311 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5438, allocations: 8.125 kB / 0.6311 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.5444, allocations: 394.4 kB / 0.6315 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.5446, allocations: 164.2 kB / 0.6316 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5447, allocations: 8 kB / 0.6317 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.5452, allocations: 55.78 kB / 0.6317 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.5453, allocations: 15.92 kB / 0.6317 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.5453, allocations: 15.98 kB / 0.6317 GB, free: 7.496 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000559/0.5459, allocations: 479 kB / 0.6322 GB, free: 7.035 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5459, allocations: 0 / 0.6322 GB, free: 7.035 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009364/0.5468, allocations: 347.2 kB / 0.6325 GB, free: 6.695 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.0005199/0.5473, allocations: 242.2 kB / 0.6328 GB, free: 6.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.5491, allocations: 0.4959 MB / 0.6332 GB, free: 5.969 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5491, allocations: 7.938 kB / 0.6332 GB, free: 5.961 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.5495, allocations: 127.8 kB / 0.6334 GB, free: 5.836 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.5511, allocations: 324.6 kB / 0.6337 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.5532, allocations: 1.381 MB / 0.635 GB, free: 4.113 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.5537, allocations: 0.9335 MB / 0.6359 GB, free: 3.148 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004788/0.5542, allocations: 116.3 kB / 0.6361 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5543, allocations: 47.42 kB / 0.6361 GB, free: 2.988 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5543, allocations: 0 / 0.6361 GB, free: 2.988 MB / 478.1 MB Notification: Performance of Templates: time 0.02223/0.5765, allocations: 12.48 MB / 0.6483 GB, free: 6.758 MB / 494.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)