Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108.9 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.001521/0.001521, 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.455/1.455, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7451/0.7451, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3252, allocations: 76.14 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01529/0.3405, allocations: 17.43 MB / 0.5746 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.3473, allocations: 4.911 MB / 0.5794 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007027/0.3481, allocations: 18.16 kB / 0.5794 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.349, allocations: 256.2 kB / 0.5796 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.3506, allocations: 0.6073 MB / 0.5802 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.3528, allocations: 0.7351 MB / 0.581 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.3541, allocations: 0.9781 MB / 0.5819 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.3546, allocations: 330.9 kB / 0.5822 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.3555, allocations: 422.8 kB / 0.5826 GB, free: 19.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.3559, allocations: 310.2 kB / 0.5829 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.356, allocations: 29.94 kB / 0.583 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.3575, allocations: 0.7204 MB / 0.5837 GB, free: 18.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.3577, allocations: 136.9 kB / 0.5838 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.3579, allocations: 246.2 kB / 0.584 GB, free: 18.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3594, allocations: 0.8862 MB / 0.5849 GB, free: 18.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3594, allocations: 0 / 0.5849 GB, free: 18.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3594, allocations: 0 / 0.5849 GB, free: 18.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3594, allocations: 1.719 kB / 0.5849 GB, free: 18.24 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001155/0.3606, allocations: 0.8823 MB / 0.5858 GB, free: 17.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3606, allocations: 8.875 kB / 0.5858 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.3608, allocations: 59.62 kB / 0.5858 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.3615, allocations: 459.6 kB / 0.5863 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.3615, allocations: 27.25 kB / 0.5863 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.3616, allocations: 29.94 kB / 0.5863 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.3621, allocations: 283.4 kB / 0.5866 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3621, allocations: 0.5312 kB / 0.5866 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3621, allocations: 11.94 kB / 0.5866 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.3621, allocations: 5.594 kB / 0.5866 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.3625, allocations: 192 kB / 0.5868 GB, free: 16.96 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.001714/0.3643, allocations: 1.476 MB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.3646, allocations: 164 kB / 0.5884 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3648, allocations: 84.61 kB / 0.5885 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.3661, allocations: 1.273 MB / 0.5897 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.3661, allocations: 40.67 kB / 0.5897 GB, free: 14.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.3661, allocations: 1.344 kB / 0.5897 GB, free: 14.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006119/0.3667, allocations: 242.7 kB / 0.59 GB, free: 14.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.3668, allocations: 62.17 kB / 0.59 GB, free: 14.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.3674, allocations: 0.5796 MB / 0.5906 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3675, allocations: 36.27 kB / 0.5906 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.3676, allocations: 269.2 kB / 0.5909 GB, free: 13.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.3677, allocations: 51.09 kB / 0.5909 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3678, allocations: 74.45 kB / 0.591 GB, free: 13.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.3679, allocations: 357.8 kB / 0.5913 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3681, allocations: 87.23 kB / 0.5914 GB, free: 13.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.3683, allocations: 214.1 kB / 0.5916 GB, free: 13.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.3687, allocations: 231.6 kB / 0.5919 GB, free: 13.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3687, allocations: 1.5 kB / 0.5919 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005614/0.3693, allocations: 316.8 kB / 0.5922 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3693, allocations: 11.44 kB / 0.5922 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3693, allocations: 5.438 kB / 0.5922 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3694, allocations: 4.188 kB / 0.5922 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.3696, allocations: 64.16 kB / 0.5922 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3696, allocations: 11.83 kB / 0.5923 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.37, allocations: 39.86 kB / 0.5923 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.37, allocations: 18.56 kB / 0.5923 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002702/0.3703, allocations: 213.9 kB / 0.5925 GB, free: 12.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002281/0.3705, allocations: 209.9 kB / 0.5927 GB, free: 12.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003213/0.3709, allocations: 234.8 kB / 0.5929 GB, free: 12.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.3709, allocations: 1.344 kB / 0.5929 GB, free: 12.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005252/0.3714, allocations: 305.9 kB / 0.5932 GB, free: 12.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.3714, allocations: 12.45 kB / 0.5932 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3714, allocations: 6.844 kB / 0.5932 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.3714, allocations: 3.719 kB / 0.5933 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3717, allocations: 63.06 kB / 0.5933 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3717, allocations: 4.562 kB / 0.5933 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.372, allocations: 35.75 kB / 0.5934 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.372, allocations: 19 kB / 0.5934 GB, free: 12.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 7.836e-05/0.3721, allocations: 198.6 kB / 0.5936 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.3722, allocations: 53.56 kB / 0.5936 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.3727, allocations: 262.5 kB / 0.5939 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3728, allocations: 2.719 kB / 0.5939 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3728, allocations: 4 kB / 0.5939 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3728, allocations: 0 / 0.5939 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.3737, allocations: 0.7363 MB / 0.5946 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3737, allocations: 5.391 kB / 0.5946 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.3738, allocations: 30.52 kB / 0.5946 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3739, allocations: 6.562 kB / 0.5946 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3739, allocations: 3 kB / 0.5946 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3739, allocations: 5.625 kB / 0.5946 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3739, allocations: 5.625 kB / 0.5946 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3743, allocations: 354.8 kB / 0.595 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3745, allocations: 147.9 kB / 0.5951 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.3745, allocations: 6.438 kB / 0.5951 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3747, allocations: 9.766 kB / 0.5951 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.3748, allocations: 23.42 kB / 0.5952 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3748, allocations: 9.453 kB / 0.5952 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004396/0.3753, allocations: 424.2 kB / 0.5956 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3753, allocations: 0 / 0.5956 GB, free: 10.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007765/0.376, allocations: 222.3 kB / 0.5958 GB, free: 10.37 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 (17): * Single equations (assignments): 15 * 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.001052/0.3771, allocations: 0.4896 MB / 0.5963 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006707/0.3778, allocations: 326 kB / 0.5966 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3778, allocations: 0 / 0.5966 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.378, allocations: 92.98 kB / 0.5967 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.3791, allocations: 241.1 kB / 0.5969 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3802, allocations: 0.8058 MB / 0.5977 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3805, allocations: 0.8469 MB / 0.5985 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000316/0.3808, allocations: 103.5 kB / 0.5986 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.3809, allocations: 39.55 kB / 0.5986 GB, free: 8.508 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3809, allocations: 0 / 0.5986 GB, free: 8.508 MB / 446.1 MB Notification: Performance of Templates: time 0.0158/0.3967, allocations: 10.19 MB / 0.6086 GB, free: 15.79 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)