Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 98.44 kB / 16.27 MB, free: 5.961 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.001239/0.001239, allocations: 189.5 kB / 17.19 MB, free: 5.59 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7332/0.7332, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 77.93 MB / 0.5672 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01415/0.3411, allocations: 15.52 MB / 0.5824 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006084/0.3472, allocations: 4.339 MB / 0.5866 GB, free: 18.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008864/0.3481, allocations: 17 kB / 0.5866 GB, free: 18.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3493, allocations: 263.6 kB / 0.5869 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.351, allocations: 0.606 MB / 0.5875 GB, free: 18.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.3531, allocations: 0.6984 MB / 0.5882 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.3543, allocations: 1.03 MB / 0.5892 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.3547, allocations: 331.8 kB / 0.5895 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006738/0.3554, allocations: 419.5 kB / 0.5899 GB, free: 16.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.3558, allocations: 312 kB / 0.5902 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.3559, allocations: 27.66 kB / 0.5902 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.357, allocations: 0.6321 MB / 0.5908 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3571, allocations: 104.6 kB / 0.5909 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.3573, allocations: 224.7 kB / 0.5911 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009305/0.3583, allocations: 0.7555 MB / 0.5919 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3583, allocations: 0 / 0.5919 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3583, allocations: 0 / 0.5919 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3583, allocations: 2.156 kB / 0.5919 GB, free: 15.31 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001089/0.3594, allocations: 0.8327 MB / 0.5927 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.3595, allocations: 9.312 kB / 0.5927 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.3596, allocations: 52.75 kB / 0.5928 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.3601, allocations: 414 kB / 0.5931 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3602, allocations: 20.28 kB / 0.5932 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.3602, allocations: 31.61 kB / 0.5932 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.3607, allocations: 210.8 kB / 0.5934 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3607, allocations: 5 kB / 0.5934 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3607, allocations: 9 kB / 0.5934 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3607, allocations: 5.25 kB / 0.5934 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.3611, allocations: 171.8 kB / 0.5936 GB, free: 13.98 MB / 446.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.001415/0.3625, allocations: 0.9536 MB / 0.5945 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.3628, allocations: 126.7 kB / 0.5946 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.363, allocations: 77 kB / 0.5947 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.3632, allocations: 336.5 kB / 0.595 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.3632, allocations: 35.64 kB / 0.5951 GB, free: 12.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.3632, allocations: 3.938 kB / 0.5951 GB, free: 12.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000639/0.3639, allocations: 237.8 kB / 0.5953 GB, free: 12.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.3639, allocations: 56.78 kB / 0.5953 GB, free: 12.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.3644, allocations: 470.6 kB / 0.5958 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3644, allocations: 32.05 kB / 0.5958 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3646, allocations: 233.3 kB / 0.596 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3646, allocations: 45.3 kB / 0.5961 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.3647, allocations: 61.91 kB / 0.5961 GB, free: 11.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.3648, allocations: 356.4 kB / 0.5965 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3649, allocations: 77.41 kB / 0.5966 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.3652, allocations: 151.5 kB / 0.5967 GB, free: 11.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.3655, allocations: 175.6 kB / 0.5969 GB, free: 11.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3655, allocations: 0 / 0.5969 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004821/0.366, allocations: 253.2 kB / 0.5971 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3661, allocations: 5.5 kB / 0.5971 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3661, allocations: 0 / 0.5971 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3661, allocations: 2.562 kB / 0.5971 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.3663, allocations: 42.66 kB / 0.5972 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3663, allocations: 9.344 kB / 0.5972 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.3667, allocations: 42.09 kB / 0.5972 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.3667, allocations: 10.69 kB / 0.5972 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002525/0.367, allocations: 188 kB / 0.5974 GB, free: 10.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002208/0.3672, allocations: 161 kB / 0.5976 GB, free: 10.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003409/0.3675, allocations: 172 kB / 0.5977 GB, free: 10.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.3676, allocations: 3.938 kB / 0.5977 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004874/0.368, allocations: 250.6 kB / 0.598 GB, free: 10.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.3681, allocations: 5.875 kB / 0.598 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.3681, allocations: 1.125 kB / 0.598 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.3681, allocations: 2.875 kB / 0.598 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.3683, allocations: 51.44 kB / 0.598 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.3683, allocations: 1.406 kB / 0.598 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.3686, allocations: 34.5 kB / 0.5981 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.3687, allocations: 12.64 kB / 0.5981 GB, free: 10.49 MB / 446.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 (24): * Single equations (assignments): 24 * 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 8.708e-05/0.3688, allocations: 196.4 kB / 0.5983 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.3688, allocations: 43.91 kB / 0.5983 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.3694, allocations: 256.1 kB / 0.5985 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3694, allocations: 3.188 kB / 0.5985 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3694, allocations: 0 / 0.5985 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3695, allocations: 3.984 kB / 0.5985 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009003/0.3704, allocations: 0.708 MB / 0.5992 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3704, allocations: 1.25 kB / 0.5992 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.3705, allocations: 33.52 kB / 0.5993 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3705, allocations: 2.312 kB / 0.5993 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3705, allocations: 7.516 kB / 0.5993 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3705, allocations: 5.375 kB / 0.5993 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3706, allocations: 1.344 kB / 0.5993 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.371, allocations: 343.9 kB / 0.5996 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.3711, allocations: 132.7 kB / 0.5997 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.3712, allocations: 7 kB / 0.5997 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3714, allocations: 26.58 kB / 0.5998 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.3714, allocations: 13.61 kB / 0.5998 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3715, allocations: 4 kB / 0.5998 GB, free: 9.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.3717, allocations: 334.9 kB / 0.6001 GB, free: 8.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3717, allocations: 4 kB / 0.6001 GB, free: 8.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007104/0.3725, allocations: 195.6 kB / 0.6003 GB, free: 8.555 MB / 446.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001072/0.3735, allocations: 0.4918 MB / 0.6008 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.3741, allocations: 279.7 kB / 0.601 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3742, allocations: 0 / 0.601 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.3743, allocations: 79.89 kB / 0.6011 GB, free: 7.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3754, allocations: 197.8 kB / 0.6013 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3765, allocations: 0.7052 MB / 0.602 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3767, allocations: 0.8273 MB / 0.6028 GB, free: 6.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.377, allocations: 86.38 kB / 0.6029 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.3771, allocations: 39.42 kB / 0.6029 GB, free: 5.973 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3771, allocations: 0 / 0.6029 GB, free: 5.973 MB / 446.1 MB Notification: Performance of Templates: time 0.014/0.3911, allocations: 8.477 MB / 0.6112 GB, free: 13.63 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)