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.001306/0.001305, allocations: 111.2 kB / 17.03 MB, free: 6.094 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.001324/0.001324, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3836, allocations: 76.14 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02765/0.4113, allocations: 30.72 MB / 0.5876 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.4234, allocations: 10.86 MB / 0.5982 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.4249, allocations: 22.81 kB / 0.5982 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.426, allocations: 394.5 kB / 0.5986 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.429, allocations: 1.153 MB / 0.5997 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.4314, allocations: 0.8554 MB / 0.6005 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002778/0.4342, allocations: 2.058 MB / 0.6025 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009917/0.4352, allocations: 0.6847 MB / 0.6032 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.4372, allocations: 0.9734 MB / 0.6042 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.4383, allocations: 0.6776 MB / 0.6048 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.584e-05/0.4384, allocations: 58.61 kB / 0.6049 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.4395, allocations: 0.6169 MB / 0.6055 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.4397, allocations: 166.6 kB / 0.6056 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.4401, allocations: 431.6 kB / 0.606 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.4413, allocations: 1.101 MB / 0.6071 GB, free: 1.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4413, allocations: 0 / 0.6071 GB, free: 1.047 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4413, allocations: 1.125 kB / 0.6071 GB, free: 1.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4413, allocations: 4 kB / 0.6071 GB, free: 1.043 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.00157/0.4429, allocations: 1.16 MB / 0.6083 GB, free: 112 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4429, allocations: 18.02 kB / 0.6083 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.4431, allocations: 94.62 kB / 0.6084 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4442, allocations: 0.5862 MB / 0.6089 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.4442, allocations: 38.78 kB / 0.609 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.4443, allocations: 56.22 kB / 0.609 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.4451, allocations: 407.9 kB / 0.6094 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4451, allocations: 7.938 kB / 0.6094 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.4451, allocations: 20 kB / 0.6094 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.4452, allocations: 16 kB / 0.6095 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.4457, allocations: 307.8 kB / 0.6098 GB, free: 14.9 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.002771/0.4485, allocations: 1.857 MB / 0.6116 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.4489, allocations: 162.5 kB / 0.6117 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.449, allocations: 84.75 kB / 0.6118 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.4494, allocations: 340.5 kB / 0.6121 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4494, allocations: 34.56 kB / 0.6122 GB, free: 12.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.4494, allocations: 0 / 0.6122 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006882/0.4501, allocations: 310.8 kB / 0.6125 GB, free: 11.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.4501, allocations: 55.41 kB / 0.6125 GB, free: 11.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.4509, allocations: 0.6765 MB / 0.6132 GB, free: 11.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.4509, allocations: 37.7 kB / 0.6132 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.4512, allocations: 356.7 kB / 0.6135 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.4513, allocations: 71 kB / 0.6136 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.4514, allocations: 93.95 kB / 0.6137 GB, free: 10.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4516, allocations: 382.7 kB / 0.6141 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.4519, allocations: 114.2 kB / 0.6142 GB, free: 10.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.4522, allocations: 183.5 kB / 0.6144 GB, free: 9.867 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.4526, allocations: 236.9 kB / 0.6146 GB, free: 9.629 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4526, allocations: 0 / 0.6146 GB, free: 9.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007028/0.4534, allocations: 398.3 kB / 0.615 GB, free: 9.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4534, allocations: 11.94 kB / 0.615 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4534, allocations: 96 / 0.615 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4534, allocations: 7.984 kB / 0.615 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/0.4544, allocations: 151.9 kB / 0.6151 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4556, allocations: 2.367 MB / 0.6174 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.4562, allocations: 59.81 kB / 0.6175 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.4563, allocations: 15.98 kB / 0.6175 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004173/0.4567, allocations: 247.8 kB / 0.6177 GB, free: 6.285 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002848/0.457, allocations: 179.5 kB / 0.6179 GB, free: 6.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003877/0.4574, allocations: 228 kB / 0.6181 GB, free: 5.852 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.4574, allocations: 0 / 0.6181 GB, free: 5.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006397/0.458, allocations: 376.2 kB / 0.6185 GB, free: 5.477 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.4581, allocations: 8 kB / 0.6185 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.4581, allocations: 0 / 0.6185 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.4581, allocations: 12.03 kB / 0.6185 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.4585, allocations: 107.8 kB / 0.6186 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4585, allocations: 7.922 kB / 0.6186 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.459, allocations: 39.81 kB / 0.6187 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.459, allocations: 12 kB / 0.6187 GB, free: 5.293 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.0001719/0.4592, allocations: 200.2 kB / 0.6189 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4593, allocations: 75.14 kB / 0.6189 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.4599, allocations: 304.5 kB / 0.6192 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.46, allocations: 0 / 0.6192 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.46, allocations: 3.984 kB / 0.6192 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.46, allocations: 4 kB / 0.6192 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.4613, allocations: 0.8916 MB / 0.6201 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4613, allocations: 3.938 kB / 0.6201 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.4616, allocations: 72 kB / 0.6202 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4617, allocations: 4 kB / 0.6202 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4617, allocations: 8.125 kB / 0.6202 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.4629, allocations: 2.356 MB / 0.6225 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4629, allocations: 3.938 kB / 0.6225 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.4635, allocations: 398.1 kB / 0.6229 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.4638, allocations: 168.1 kB / 0.623 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.4638, allocations: 12 kB / 0.623 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.4641, allocations: 15.97 kB / 0.6231 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4642, allocations: 23.89 kB / 0.6231 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.4642, allocations: 8 kB / 0.6231 GB, free: 0.543 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000635/0.4649, allocations: 482.9 kB / 0.6235 GB, free: 80 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4649, allocations: 0 / 0.6235 GB, free: 80 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009838/0.4659, allocations: 343.3 kB / 0.6239 GB, free: 15.74 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.0004515/0.4663, allocations: 247.4 kB / 0.6241 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.4679, allocations: 0.4915 MB / 0.6246 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4679, allocations: 0 / 0.6246 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.4683, allocations: 140.1 kB / 0.6247 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.4696, allocations: 325.9 kB / 0.625 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.4716, allocations: 1.107 MB / 0.6261 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.4721, allocations: 0.9334 MB / 0.627 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.4725, allocations: 117.7 kB / 0.6271 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4726, allocations: 47.42 kB / 0.6272 GB, free: 12.3 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4726, allocations: 0 / 0.6272 GB, free: 12.3 MB / 478.1 MB Notification: Performance of Templates: time 0.02086/0.4935, allocations: 12.58 MB / 0.6395 GB, free: 15.95 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)