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.001058/0.001058, allocations: 105.4 kB / 16.52 MB, free: 6.27 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.001019/0.001019, allocations: 197 kB / 17.44 MB, free: 5.887 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7235/0.7235, allocations: 115.3 MB / 406.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 493.6 MB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3438, allocations: 76.16 MB / 0.5564 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0143/0.3582, allocations: 15.47 MB / 0.5715 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006157/0.3644, allocations: 4.36 MB / 0.5757 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008366/0.3652, allocations: 16.38 kB / 0.5758 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009935/0.3663, allocations: 225.1 kB / 0.576 GB, free: 22.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.368, allocations: 0.5584 MB / 0.5765 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.3699, allocations: 0.631 MB / 0.5771 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.3717, allocations: 1.306 MB / 0.5784 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.3722, allocations: 297.4 kB / 0.5787 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007345/0.3729, allocations: 382.3 kB / 0.5791 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.3734, allocations: 332.6 kB / 0.5794 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.3734, allocations: 17.62 kB / 0.5794 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3748, allocations: 0.5988 MB / 0.58 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3749, allocations: 91.97 kB / 0.5801 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.3752, allocations: 212.2 kB / 0.5803 GB, free: 20.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008323/0.376, allocations: 0.5454 MB / 0.5808 GB, free: 20.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.376, allocations: 2.484 kB / 0.5808 GB, free: 20.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.376, allocations: 0 / 0.5808 GB, free: 20.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.376, allocations: 0 / 0.5808 GB, free: 20.03 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.00128/0.3773, allocations: 0.832 MB / 0.5816 GB, free: 19.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3774, allocations: 13.89 kB / 0.5816 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3775, allocations: 59.34 kB / 0.5817 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.3781, allocations: 410.2 kB / 0.5821 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3781, allocations: 20.31 kB / 0.5821 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.3781, allocations: 28.12 kB / 0.5821 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.3786, allocations: 216.7 kB / 0.5823 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3786, allocations: 1.062 kB / 0.5823 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3787, allocations: 5.031 kB / 0.5823 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3787, allocations: 5.562 kB / 0.5823 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.3791, allocations: 168.8 kB / 0.5825 GB, free: 18.86 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.001595/0.3807, allocations: 0.9434 MB / 0.5834 GB, free: 18.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.381, allocations: 129.3 kB / 0.5835 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3811, allocations: 73.97 kB / 0.5836 GB, free: 18.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.3814, allocations: 338.4 kB / 0.5839 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.3814, allocations: 32 kB / 0.584 GB, free: 17.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3814, allocations: 1.156 kB / 0.584 GB, free: 17.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006173/0.382, allocations: 248.8 kB / 0.5842 GB, free: 17.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.382, allocations: 54.34 kB / 0.5843 GB, free: 17.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.3826, allocations: 474.4 kB / 0.5847 GB, free: 17.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3826, allocations: 32.11 kB / 0.5847 GB, free: 17.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.3828, allocations: 238.5 kB / 0.585 GB, free: 17.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.3828, allocations: 44.73 kB / 0.585 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.3829, allocations: 57.56 kB / 0.5851 GB, free: 17.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.383, allocations: 357 kB / 0.5854 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.3832, allocations: 69.73 kB / 0.5855 GB, free: 16.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.3835, allocations: 162.4 kB / 0.5856 GB, free: 16.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.3838, allocations: 159.4 kB / 0.5858 GB, free: 16.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3838, allocations: 0.7969 kB / 0.5858 GB, free: 16.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005155/0.3844, allocations: 261.8 kB / 0.586 GB, free: 16.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3844, allocations: 5.688 kB / 0.586 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3844, allocations: 2.594 kB / 0.586 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3844, allocations: 1.438 kB / 0.586 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3847, allocations: 46.39 kB / 0.5861 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3847, allocations: 1.672 kB / 0.5861 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3851, allocations: 50.2 kB / 0.5861 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.3851, allocations: 7.844 kB / 0.5861 GB, free: 16.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002736/0.3854, allocations: 196.1 kB / 0.5863 GB, free: 16.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002372/0.3856, allocations: 161 kB / 0.5865 GB, free: 16.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003203/0.386, allocations: 174 kB / 0.5866 GB, free: 16.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.386, allocations: 0 / 0.5866 GB, free: 16.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005111/0.3865, allocations: 250.2 kB / 0.5869 GB, free: 15.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.3865, allocations: 5.469 kB / 0.5869 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.3865, allocations: 1.312 kB / 0.5869 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.3865, allocations: 6.078 kB / 0.5869 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.3867, allocations: 41.97 kB / 0.5869 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3868, allocations: 7.016 kB / 0.5869 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.3871, allocations: 40.42 kB / 0.587 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3872, allocations: 12.52 kB / 0.587 GB, free: 15.91 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 9.187e-05/0.3873, allocations: 199 kB / 0.5872 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.3873, allocations: 43.66 kB / 0.5872 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/0.3879, allocations: 254.6 kB / 0.5875 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3879, allocations: 2.203 kB / 0.5875 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3879, allocations: 1.625 kB / 0.5875 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.388, allocations: 1.547 kB / 0.5875 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009935/0.389, allocations: 0.7073 MB / 0.5882 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.389, allocations: 1.688 kB / 0.5882 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3891, allocations: 30.47 kB / 0.5882 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3891, allocations: 3.031 kB / 0.5882 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3891, allocations: 6.781 kB / 0.5882 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3891, allocations: 6.609 kB / 0.5882 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3892, allocations: 1.031 kB / 0.5882 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.3896, allocations: 336.2 kB / 0.5885 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3897, allocations: 147.4 kB / 0.5887 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.3898, allocations: 5.953 kB / 0.5887 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.39, allocations: 25.39 kB / 0.5887 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.3901, allocations: 15.39 kB / 0.5887 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3901, allocations: 6.969 kB / 0.5887 GB, free: 14.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003756/0.3905, allocations: 331.4 kB / 0.589 GB, free: 14.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3905, allocations: 1.312 kB / 0.589 GB, free: 14.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007896/0.3913, allocations: 198.1 kB / 0.5892 GB, free: 14.52 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.001153/0.3925, allocations: 479.5 kB / 0.5897 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007221/0.3932, allocations: 274.5 kB / 0.5899 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3932, allocations: 0 / 0.5899 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3934, allocations: 80.69 kB / 0.59 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.3948, allocations: 224.3 kB / 0.5902 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3961, allocations: 0.8771 MB / 0.5911 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3964, allocations: 0.8218 MB / 0.5919 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3965, allocations: 39.62 kB / 0.5919 GB, free: 12.87 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3965, allocations: 4 kB / 0.5919 GB, free: 12.86 MB / 446.1 MB Notification: Performance of Templates: time 0.01156/0.4081, allocations: 7.434 MB / 0.5992 GB, free: 8.492 MB / 446.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)