Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.0012/0.0012, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7229/0.7229, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.22 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 76.2 MB / 0.6327 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4531/0.5785, allocations: 154.3 MB / 0.7835 GB, free: 30.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03618/0.6147, allocations: 30.4 MB / 0.8132 GB, free: 23.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005805/0.6206, allocations: 141.6 kB / 0.8133 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.6238, allocations: 1.031 MB / 0.8143 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008484/0.6323, allocations: 3.176 MB / 0.8174 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0058/0.6381, allocations: 2.507 MB / 0.8199 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006358/0.6445, allocations: 5.395 MB / 0.8251 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003202/0.6477, allocations: 2.234 MB / 0.8273 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005199/0.6529, allocations: 2.754 MB / 0.83 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.656, allocations: 1.964 MB / 0.8319 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007/0.6567, allocations: 216 kB / 0.8321 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.6596, allocations: 1.088 MB / 0.8332 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.6603, allocations: 0.5525 MB / 0.8337 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.6623, allocations: 1.275 MB / 0.835 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.6668, allocations: 3.325 MB / 0.8382 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.6669, allocations: 4 kB / 0.8382 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6669, allocations: 0 / 0.8382 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.689e-05/0.667, allocations: 4 kB / 0.8382 GB, free: 4.277 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004276/0.6712, allocations: 2.793 MB / 0.8409 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6713, allocations: 8.031 kB / 0.841 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.6717, allocations: 260.9 kB / 0.8412 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.6739, allocations: 1.516 MB / 0.8427 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.674, allocations: 102.3 kB / 0.8428 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.6742, allocations: 136 kB / 0.8429 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.6763, allocations: 1.167 MB / 0.8441 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.6763, allocations: 0 / 0.8441 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.6764, allocations: 47.94 kB / 0.8441 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.6765, allocations: 28 kB / 0.8441 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.6783, allocations: 1.013 MB / 0.8451 GB, free: 13.04 MB / 0.5919 GB 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.01046/0.6887, allocations: 6.32 MB / 0.8513 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.6898, allocations: 0.5674 MB / 0.8518 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.6904, allocations: 389 kB / 0.8522 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.6908, allocations: 0.5031 MB / 0.8527 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.6909, allocations: 39.12 kB / 0.8527 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001391/0.6923, allocations: 230.8 kB / 0.853 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 6.002e-06/0.6923, allocations: 4 kB / 0.853 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.002391/0.6947, allocations: 1.16 MB / 0.8541 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.6947, allocations: 59.97 kB / 0.8542 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.6976, allocations: 1.908 MB / 0.856 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.6978, allocations: 41.7 kB / 0.8561 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008967/0.6987, allocations: 0.9146 MB / 0.8569 GB, free: 276 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.6989, allocations: 209 kB / 0.8571 GB, free: 64 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/0.6995, allocations: 290.6 kB / 0.8574 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6996, allocations: 349.9 kB / 0.8578 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/0.7005, allocations: 461.8 kB / 0.8582 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.7016, allocations: 0.684 MB / 0.8589 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.7032, allocations: 0.9696 MB / 0.8598 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.7033, allocations: 4 kB / 0.8598 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002665/0.7059, allocations: 1.401 MB / 0.8612 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.706, allocations: 11.98 kB / 0.8612 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.706, allocations: 0 / 0.8612 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.706, allocations: 8 kB / 0.8612 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.7073, allocations: 283.5 kB / 0.8615 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/0.7073, allocations: 11.94 kB / 0.8615 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.7088, allocations: 79.89 kB / 0.8616 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.709, allocations: 63.89 kB / 0.8616 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/0.7103, allocations: 0.7133 MB / 0.8623 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009409/0.7112, allocations: 0.6523 MB / 0.863 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00144/0.7127, allocations: 0.9188 MB / 0.8639 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.7127, allocations: 0 / 0.8639 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002455/0.7152, allocations: 1.353 MB / 0.8652 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7152, allocations: 9.719 kB / 0.8652 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.7152, allocations: 4 kB / 0.8652 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.7152, allocations: 8.375 kB / 0.8652 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.7164, allocations: 279.5 kB / 0.8655 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.7164, allocations: 8 kB / 0.8655 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.718, allocations: 91.91 kB / 0.8656 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.7181, allocations: 59.89 kB / 0.8656 GB, free: 7.117 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.7184, allocations: 239.9 kB / 0.8658 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.7188, allocations: 197.5 kB / 0.866 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.7209, allocations: 1.099 MB / 0.8671 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.7209, allocations: 8 kB / 0.8671 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.721, allocations: 0 / 0.8671 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.721, allocations: 7.922 kB / 0.8671 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/0.7249, allocations: 2.449 MB / 0.8695 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.725, allocations: 0 / 0.8695 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/0.7256, allocations: 139.7 kB / 0.8696 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.7256, allocations: 4 kB / 0.8696 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.7257, allocations: 20 kB / 0.8697 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.7257, allocations: 4.188 kB / 0.8697 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7257, allocations: 8 kB / 0.8697 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.7273, allocations: 1.07 MB / 0.8707 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/0.7279, allocations: 358.4 kB / 0.8711 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.7282, allocations: 12 kB / 0.8711 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.729, allocations: 39.97 kB / 0.8711 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7292, allocations: 52.58 kB / 0.8712 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.7292, allocations: 24 kB / 0.8712 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001749/0.731, allocations: 1.256 MB / 0.8724 GB, free: 20 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.731, allocations: 0 / 0.8724 GB, free: 20 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002117/0.7331, allocations: 0.8926 MB / 0.8733 GB, free: 15.12 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007466/0.7339, allocations: 357.3 kB / 0.8736 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002821/0.7367, allocations: 1.622 MB / 0.8752 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7367, allocations: 0 / 0.8752 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.7374, allocations: 415.5 kB / 0.8756 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/0.7419, allocations: 1.077 MB / 0.8767 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.7468, allocations: 3.028 MB / 0.8796 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.7479, allocations: 1.405 MB / 0.881 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005931/0.7485, allocations: 163.4 kB / 0.8811 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.7485, allocations: 4 kB / 0.8811 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of Templates: time 0.04509/0.7936, allocations: 31.02 MB / 0.9114 GB, free: 8.285 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)