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.001318/0.001318, allocations: 107 kB / 16.52 MB, free: 6.656 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.001152/0.001152, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 115.3 MB / 406.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3597, allocations: 76.16 MB / 0.5564 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02654/0.3863, allocations: 30.57 MB / 0.5862 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.3994, allocations: 10.85 MB / 0.5968 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.4011, allocations: 24.66 kB / 0.5968 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.4026, allocations: 326.8 kB / 0.5972 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.4061, allocations: 1.054 MB / 0.5982 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.4087, allocations: 0.7587 MB / 0.5989 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003669/0.4123, allocations: 2.831 MB / 0.6017 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.4135, allocations: 0.5831 MB / 0.6023 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.4157, allocations: 0.9108 MB / 0.6032 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.4169, allocations: 0.6848 MB / 0.6038 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.417, allocations: 36.03 kB / 0.6039 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.4186, allocations: 0.5715 MB / 0.6044 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.4188, allocations: 153.6 kB / 0.6046 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.4194, allocations: 408.9 kB / 0.605 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.4204, allocations: 0.7867 MB / 0.6057 GB, free: 1.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4204, allocations: 0 / 0.6057 GB, free: 1.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4204, allocations: 0 / 0.6057 GB, free: 1.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.4205, allocations: 4 kB / 0.6057 GB, free: 1.074 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.001763/0.4222, allocations: 1.16 MB / 0.6069 GB, free: 148 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4223, allocations: 13.06 kB / 0.6069 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.4225, allocations: 95.19 kB / 0.607 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.4233, allocations: 0.5536 MB / 0.6075 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.4234, allocations: 47.23 kB / 0.6075 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.4235, allocations: 53.16 kB / 0.6076 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.4243, allocations: 406.9 kB / 0.608 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4243, allocations: 0 / 0.608 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.4243, allocations: 19.91 kB / 0.608 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.4244, allocations: 11.5 kB / 0.608 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.425, allocations: 301.7 kB / 0.6083 GB, free: 15.21 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.002793/0.4278, allocations: 1.862 MB / 0.6101 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.4282, allocations: 170.5 kB / 0.6103 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4284, allocations: 80.81 kB / 0.6104 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.4287, allocations: 340.5 kB / 0.6107 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4287, allocations: 34.56 kB / 0.6107 GB, free: 12.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.4287, allocations: 0 / 0.6107 GB, free: 12.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007777/0.4295, allocations: 314.2 kB / 0.611 GB, free: 12.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.4295, allocations: 55.41 kB / 0.6111 GB, free: 12.26 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.4303, allocations: 0.6805 MB / 0.6117 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4303, allocations: 33.7 kB / 0.6118 GB, free: 11.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.4306, allocations: 360.7 kB / 0.6121 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.4307, allocations: 67 kB / 0.6122 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.4308, allocations: 97.95 kB / 0.6123 GB, free: 11.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.431, allocations: 378.7 kB / 0.6126 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.4312, allocations: 114.3 kB / 0.6127 GB, free: 10.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.4315, allocations: 183.5 kB / 0.6129 GB, free: 10.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.432, allocations: 232.9 kB / 0.6131 GB, free: 10.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.432, allocations: 4 kB / 0.6131 GB, free: 10.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007847/0.4328, allocations: 401.8 kB / 0.6135 GB, free: 9.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4328, allocations: 8 kB / 0.6135 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4329, allocations: 0 / 0.6135 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4329, allocations: 7.938 kB / 0.6135 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4339, allocations: 155.9 kB / 0.6137 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4354, allocations: 2.363 MB / 0.616 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.4362, allocations: 83.78 kB / 0.6161 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.4362, allocations: 15.98 kB / 0.6161 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004329/0.4367, allocations: 255.8 kB / 0.6163 GB, free: 6.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002916/0.437, allocations: 175.5 kB / 0.6165 GB, free: 6.508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004431/0.4374, allocations: 232 kB / 0.6167 GB, free: 6.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.4374, allocations: 112 / 0.6167 GB, free: 6.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007066/0.4381, allocations: 380 kB / 0.6171 GB, free: 5.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4382, allocations: 8 kB / 0.6171 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.4382, allocations: 0 / 0.6171 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-06/0.4382, allocations: 0 / 0.6171 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.4386, allocations: 107.8 kB / 0.6172 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4387, allocations: 4 kB / 0.6172 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.4393, allocations: 67.78 kB / 0.6173 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.4393, allocations: 15.98 kB / 0.6173 GB, free: 5.691 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.0001944/0.4395, allocations: 196.2 kB / 0.6175 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4396, allocations: 71.06 kB / 0.6175 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.4403, allocations: 315.6 kB / 0.6178 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4403, allocations: 4 kB / 0.6178 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4403, allocations: 4 kB / 0.6178 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4403, allocations: 0 / 0.6178 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.4417, allocations: 0.9033 MB / 0.6187 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4417, allocations: 0 / 0.6187 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.4421, allocations: 75.88 kB / 0.6188 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4421, allocations: 0 / 0.6188 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4421, allocations: 4 kB / 0.6188 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.4433, allocations: 2.36 MB / 0.6211 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4433, allocations: 3.938 kB / 0.6211 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.4439, allocations: 394.6 kB / 0.6215 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.4442, allocations: 160.2 kB / 0.6216 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/0.4443, allocations: 8.172 kB / 0.6216 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.4447, allocations: 47.89 kB / 0.6217 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.4448, allocations: 27.84 kB / 0.6217 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.4448, allocations: 7.984 kB / 0.6217 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005841/0.4454, allocations: 483 kB / 0.6222 GB, free: 452 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4454, allocations: 0 / 0.6222 GB, free: 452 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4465, allocations: 351.1 kB / 0.6225 GB, free: 100 kB / 462.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.0006094/0.4471, allocations: 247.9 kB / 0.6228 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.4488, allocations: 0.4987 MB / 0.6232 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4488, allocations: 0 / 0.6232 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.4492, allocations: 127.9 kB / 0.6234 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.4513, allocations: 377.9 kB / 0.6237 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4536, allocations: 1.396 MB / 0.6251 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.4541, allocations: 0.9371 MB / 0.626 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.4543, allocations: 51.44 kB / 0.6261 GB, free: 12.43 MB / 478.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4543, allocations: 0 / 0.6261 GB, free: 12.43 MB / 478.1 MB Notification: Performance of Templates: time 0.02749/0.4818, allocations: 22.12 MB / 0.6477 GB, free: 6.453 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)