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.0008046/0.0008048, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009952/0.0009953, allocations: 174.3 kB / 16.58 MB, free: 6.797 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.427/1.427, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7862/0.7862, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 8 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 77.53 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4558/0.6297, allocations: 142.6 MB / 0.6986 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04297/0.6727, allocations: 28.62 MB / 0.7266 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006314/0.6791, allocations: 119.2 kB / 0.7267 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003949/0.6831, allocations: 0.6905 MB / 0.7274 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009928/0.693, allocations: 2.51 MB / 0.7298 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006885/0.6999, allocations: 1.998 MB / 0.7318 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009367/0.7093, allocations: 6.256 MB / 0.7379 GB, free: 328 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.7132, allocations: 1.679 MB / 0.7395 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/0.7192, allocations: 2.209 MB / 0.7417 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004183/0.7234, allocations: 1.789 MB / 0.7434 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007421/0.7242, allocations: 99.94 kB / 0.7435 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.7272, allocations: 0.854 MB / 0.7444 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005264/0.7277, allocations: 422 kB / 0.7448 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.7287, allocations: 468.5 kB / 0.7452 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.7323, allocations: 2.414 MB / 0.7476 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.7324, allocations: 0 / 0.7476 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7324, allocations: 0 / 0.7476 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.446e-05/0.7325, allocations: 0 / 0.7476 GB, free: 6.352 MB / 0.5606 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.004578/0.7371, allocations: 2.371 MB / 0.7499 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7371, allocations: 8.031 kB / 0.7499 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004584/0.7376, allocations: 264.8 kB / 0.7501 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.7399, allocations: 1.369 MB / 0.7515 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.74, allocations: 102.3 kB / 0.7516 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.7402, allocations: 140 kB / 0.7517 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.7426, allocations: 1.163 MB / 0.7528 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.7426, allocations: 3.984 kB / 0.7528 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.7427, allocations: 44 kB / 0.7529 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.7428, allocations: 32 kB / 0.7529 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.7448, allocations: 1.013 MB / 0.7539 GB, free: 15.68 MB / 0.5762 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.01102/0.7558, allocations: 6.344 MB / 0.7601 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009684/0.7568, allocations: 0.5795 MB / 0.7607 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.7574, allocations: 384 kB / 0.761 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/0.7578, allocations: 0.507 MB / 0.7615 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.7579, allocations: 43.06 kB / 0.7616 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001711/0.7596, allocations: 334.7 kB / 0.7619 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 7.013e-06/0.7596, allocations: 0 / 0.7619 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.002227/0.7618, allocations: 1.129 MB / 0.763 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.7619, allocations: 68.08 kB / 0.7631 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.7646, allocations: 1.884 MB / 0.7649 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.7648, allocations: 41.7 kB / 0.7649 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.7656, allocations: 0.9185 MB / 0.7658 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.7658, allocations: 201.1 kB / 0.766 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.7658, allocations: 24 kB / 0.766 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.766, allocations: 345.9 kB / 0.7664 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007063/0.7667, allocations: 414.4 kB / 0.7668 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009616/0.7677, allocations: 0.6552 MB / 0.7674 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009547/0.7686, allocations: 498.3 kB / 0.7679 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.7687, allocations: 0 / 0.7679 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00256/0.7712, allocations: 1.346 MB / 0.7692 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.7714, allocations: 186.3 kB / 0.7694 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7714, allocations: 0 / 0.7694 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.7714, allocations: 23.89 kB / 0.7694 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.7727, allocations: 283.5 kB / 0.7697 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.7727, allocations: 11.94 kB / 0.7697 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.7745, allocations: 147.6 kB / 0.7698 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7746, allocations: 55.95 kB / 0.7699 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.7746, allocations: 8 kB / 0.7699 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/0.7765, allocations: 1.116 MB / 0.771 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7765, allocations: 8 kB / 0.771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7765, allocations: 8 kB / 0.771 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.7776, allocations: 271.6 kB / 0.7713 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7776, allocations: 11.98 kB / 0.7713 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.779, allocations: 143.7 kB / 0.7714 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.7791, allocations: 59.95 kB / 0.7715 GB, free: 12.91 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008771/0.78, allocations: 448.7 kB / 0.7719 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.7803, allocations: 205.3 kB / 0.7721 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.7823, allocations: 1.079 MB / 0.7731 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.7823, allocations: 8 kB / 0.7731 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7823, allocations: 0 / 0.7731 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.7823, allocations: 3.984 kB / 0.7731 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.7858, allocations: 2.402 MB / 0.7755 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.7858, allocations: 4 kB / 0.7755 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.7864, allocations: 140 kB / 0.7756 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.7864, allocations: 4 kB / 0.7756 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.7865, allocations: 23.94 kB / 0.7757 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.7865, allocations: 7.938 kB / 0.7757 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7865, allocations: 4 kB / 0.7757 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.7879, allocations: 1.051 MB / 0.7767 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/0.7886, allocations: 386.2 kB / 0.7771 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.7888, allocations: 12 kB / 0.7771 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.7896, allocations: 107.6 kB / 0.7772 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.7897, allocations: 44.59 kB / 0.7772 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.7898, allocations: 31.98 kB / 0.7772 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001671/0.7915, allocations: 1.229 MB / 0.7784 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7915, allocations: 0 / 0.7784 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002091/0.7936, allocations: 0.8926 MB / 0.7793 GB, free: 4.684 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006472/0.7942, allocations: 334.6 kB / 0.7796 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.7971, allocations: 1.545 MB / 0.7811 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7971, allocations: 4.062 kB / 0.7812 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.7977, allocations: 403.5 kB / 0.7815 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005211/0.8029, allocations: 1.135 MB / 0.7826 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.8081, allocations: 3.524 MB / 0.7861 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009995/0.8091, allocations: 1.413 MB / 0.7875 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002097/0.8113, allocations: 405.6 kB / 0.7879 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.8117, allocations: 159.4 kB / 0.788 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.8117, allocations: 0 / 0.788 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.06611/0.8778, allocations: 35.87 MB / 0.823 GB, free: 8.371 MB / 0.6387 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)