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.001375/0.001374, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001425/0.001425, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.46/1.46, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7828/0.7828, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4357, allocations: 77.92 MB / 0.5672 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03264/0.4684, allocations: 30.72 MB / 0.5972 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.4823, allocations: 10.85 MB / 0.6078 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.484, allocations: 25.91 kB / 0.6078 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.4853, allocations: 391.4 kB / 0.6082 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.4887, allocations: 1.157 MB / 0.6093 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.4911, allocations: 0.8362 MB / 0.6101 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.4936, allocations: 2.066 MB / 0.6122 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009143/0.4946, allocations: 0.6856 MB / 0.6128 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.4966, allocations: 0.9688 MB / 0.6138 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009624/0.4976, allocations: 0.6729 MB / 0.6144 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.4977, allocations: 56 kB / 0.6145 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.4991, allocations: 0.6083 MB / 0.6151 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.4993, allocations: 171.2 kB / 0.6152 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.4998, allocations: 429.7 kB / 0.6156 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.5014, allocations: 1.084 MB / 0.6167 GB, free: 8.035 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5014, allocations: 4 kB / 0.6167 GB, free: 8.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5014, allocations: 0 / 0.6167 GB, free: 8.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.5015, allocations: 0 / 0.6167 GB, free: 8.031 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.00199/0.5035, allocations: 1.164 MB / 0.6178 GB, free: 6.812 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.5035, allocations: 12.62 kB / 0.6179 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.5037, allocations: 99.72 kB / 0.618 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.5046, allocations: 0.5578 MB / 0.6185 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.5046, allocations: 41 kB / 0.6185 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.5047, allocations: 52 kB / 0.6186 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/0.5056, allocations: 410.4 kB / 0.619 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5056, allocations: 4 kB / 0.619 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.5056, allocations: 20 kB / 0.619 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5057, allocations: 8 kB / 0.619 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.5062, allocations: 307.8 kB / 0.6193 GB, free: 5.27 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.002924/0.5092, allocations: 1.881 MB / 0.6211 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.5096, allocations: 162.5 kB / 0.6213 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.5098, allocations: 90.52 kB / 0.6214 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.5102, allocations: 332.4 kB / 0.6217 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.5102, allocations: 34.56 kB / 0.6217 GB, free: 2.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.5102, allocations: 0 / 0.6217 GB, free: 2.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007517/0.511, allocations: 308.6 kB / 0.622 GB, free: 2.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.5111, allocations: 51.41 kB / 0.6221 GB, free: 2.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.5119, allocations: 0.6805 MB / 0.6227 GB, free: 1.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5119, allocations: 33.7 kB / 0.6228 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.5123, allocations: 372.7 kB / 0.6231 GB, free: 1.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.5123, allocations: 59.11 kB / 0.6232 GB, free: 1.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.5125, allocations: 97.95 kB / 0.6233 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5127, allocations: 378.7 kB / 0.6236 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.5129, allocations: 118.3 kB / 0.6237 GB, free: 424 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.5132, allocations: 179.5 kB / 0.6239 GB, free: 224 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.5137, allocations: 241 kB / 0.6241 GB, free: 15.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5137, allocations: 0 / 0.6241 GB, free: 15.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007038/0.5144, allocations: 405.7 kB / 0.6245 GB, free: 15.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5145, allocations: 4 kB / 0.6245 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5145, allocations: 112 / 0.6245 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.5145, allocations: 11.94 kB / 0.6246 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.5155, allocations: 155.7 kB / 0.6247 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.517, allocations: 2.364 MB / 0.627 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.5175, allocations: 63.88 kB / 0.6271 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.5175, allocations: 19.98 kB / 0.6271 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004295/0.518, allocations: 247.8 kB / 0.6273 GB, free: 12.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002843/0.5183, allocations: 175.5 kB / 0.6275 GB, free: 12.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000411/0.5187, allocations: 232 kB / 0.6277 GB, free: 12.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.5187, allocations: 0 / 0.6277 GB, free: 12.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006544/0.5194, allocations: 384.1 kB / 0.6281 GB, free: 11.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.5194, allocations: 4 kB / 0.6281 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.5194, allocations: 4.031 kB / 0.6281 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.5194, allocations: 4 kB / 0.6281 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.5198, allocations: 107.8 kB / 0.6282 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.5198, allocations: 0 / 0.6282 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.5202, allocations: 35.81 kB / 0.6282 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.5203, allocations: 20 kB / 0.6282 GB, free: 11.63 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.0001636/0.5204, allocations: 208.2 kB / 0.6284 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5205, allocations: 71.06 kB / 0.6285 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.5212, allocations: 303.1 kB / 0.6288 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5212, allocations: 11.98 kB / 0.6288 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5212, allocations: 0 / 0.6288 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5212, allocations: 0 / 0.6288 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.5225, allocations: 0.8893 MB / 0.6297 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5225, allocations: 128 / 0.6297 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.5228, allocations: 75.95 kB / 0.6298 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5229, allocations: 4 kB / 0.6298 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.5229, allocations: 11.98 kB / 0.6298 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.524, allocations: 2.348 MB / 0.6321 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.524, allocations: 4.031 kB / 0.6321 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.5246, allocations: 404 kB / 0.6325 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.5248, allocations: 168.3 kB / 0.6326 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.5249, allocations: 4 kB / 0.6326 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.5252, allocations: 27.95 kB / 0.6326 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.5252, allocations: 19.92 kB / 0.6327 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.5253, allocations: 8 kB / 0.6327 GB, free: 6.879 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005967/0.5259, allocations: 482.9 kB / 0.6331 GB, free: 6.414 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5259, allocations: 0 / 0.6331 GB, free: 6.414 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008775/0.5267, allocations: 347.2 kB / 0.6335 GB, free: 6.074 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.0004861/0.5272, allocations: 257 kB / 0.6337 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.5289, allocations: 495.2 kB / 0.6342 GB, free: 5.344 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5289, allocations: 4.062 kB / 0.6342 GB, free: 5.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.5293, allocations: 135.8 kB / 0.6343 GB, free: 5.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5308, allocations: 319.8 kB / 0.6346 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.5328, allocations: 1.142 MB / 0.6357 GB, free: 3.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.5334, allocations: 0.9335 MB / 0.6366 GB, free: 2.766 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004334/0.5339, allocations: 116.5 kB / 0.6368 GB, free: 2.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.534, allocations: 47.44 kB / 0.6368 GB, free: 2.605 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.534, allocations: 0 / 0.6368 GB, free: 2.605 MB / 478.1 MB Notification: Performance of Templates: time 0.02233/0.5563, allocations: 12.58 MB / 0.6491 GB, free: 6.266 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)