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.00103/0.00103, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001015/0.001015, allocations: 196 kB / 17.98 MB, free: 5.031 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.308/1.308, 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.7076/0.7076, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3568, allocations: 76.15 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01694/0.3738, allocations: 17.43 MB / 0.5746 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005976/0.3798, allocations: 4.915 MB / 0.5794 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.3804, allocations: 13.41 kB / 0.5794 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.3812, allocations: 252.3 kB / 0.5797 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3825, allocations: 0.6134 MB / 0.5803 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3843, allocations: 0.7318 MB / 0.581 GB, free: 20.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009754/0.3853, allocations: 0.9742 MB / 0.5819 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004265/0.3857, allocations: 333 kB / 0.5822 GB, free: 19.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.3863, allocations: 416.8 kB / 0.5826 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.3867, allocations: 314.2 kB / 0.5829 GB, free: 19.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.3867, allocations: 30.81 kB / 0.583 GB, free: 19.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.3879, allocations: 0.7243 MB / 0.5837 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.388, allocations: 137.1 kB / 0.5838 GB, free: 18.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.3882, allocations: 242 kB / 0.584 GB, free: 18.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.3893, allocations: 0.8911 MB / 0.5849 GB, free: 18.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3893, allocations: 0 / 0.5849 GB, free: 18.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3893, allocations: 1 kB / 0.5849 GB, free: 18.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3893, allocations: 0 / 0.5849 GB, free: 18.39 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.001081/0.3904, allocations: 0.8788 MB / 0.5858 GB, free: 17.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3904, allocations: 9.578 kB / 0.5858 GB, free: 17.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.3906, allocations: 58.03 kB / 0.5858 GB, free: 17.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.3912, allocations: 463.8 kB / 0.5863 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3913, allocations: 28.53 kB / 0.5863 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.3913, allocations: 29.03 kB / 0.5863 GB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.3917, allocations: 283.8 kB / 0.5866 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3918, allocations: 0 / 0.5866 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.3918, allocations: 12.25 kB / 0.5866 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3918, allocations: 6.344 kB / 0.5866 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.3922, allocations: 190.7 kB / 0.5868 GB, free: 17.12 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.001561/0.3938, allocations: 1.476 MB / 0.5882 GB, free: 16.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.3941, allocations: 157.8 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3943, allocations: 88.47 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.3955, allocations: 1.274 MB / 0.5897 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3955, allocations: 43.58 kB / 0.5898 GB, free: 14.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3955, allocations: 0 / 0.5898 GB, free: 14.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005664/0.3961, allocations: 252.5 kB / 0.59 GB, free: 14.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.3961, allocations: 57.23 kB / 0.59 GB, free: 14.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.3967, allocations: 0.5799 MB / 0.5906 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3967, allocations: 32.55 kB / 0.5906 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3969, allocations: 264.7 kB / 0.5909 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3969, allocations: 52.22 kB / 0.5909 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.397, allocations: 73.42 kB / 0.591 GB, free: 13.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.3971, allocations: 358.5 kB / 0.5914 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3973, allocations: 82.28 kB / 0.5914 GB, free: 13.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.3975, allocations: 216.5 kB / 0.5916 GB, free: 13.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.3978, allocations: 228.3 kB / 0.5919 GB, free: 13.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3978, allocations: 1.094 kB / 0.5919 GB, free: 13.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005077/0.3984, allocations: 318.1 kB / 0.5922 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3984, allocations: 10.56 kB / 0.5922 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3984, allocations: 2.688 kB / 0.5922 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3984, allocations: 4.219 kB / 0.5922 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3986, allocations: 62.62 kB / 0.5922 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3987, allocations: 5.312 kB / 0.5922 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.399, allocations: 46.81 kB / 0.5923 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.399, allocations: 23.75 kB / 0.5923 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002434/0.3992, allocations: 217.8 kB / 0.5925 GB, free: 12.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002131/0.3995, allocations: 207.1 kB / 0.5927 GB, free: 12.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003054/0.3998, allocations: 233 kB / 0.5929 GB, free: 12.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.3998, allocations: 1.156 kB / 0.5929 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004825/0.4003, allocations: 307 kB / 0.5932 GB, free: 12.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.4003, allocations: 5.75 kB / 0.5932 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4003, allocations: 11.12 kB / 0.5933 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.4003, allocations: 3.219 kB / 0.5933 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4005, allocations: 63.44 kB / 0.5933 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4005, allocations: 11.77 kB / 0.5933 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.4008, allocations: 36.27 kB / 0.5934 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.4009, allocations: 15.66 kB / 0.5934 GB, free: 12.17 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.122e-05/0.4009, allocations: 202.5 kB / 0.5936 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.401, allocations: 56.92 kB / 0.5936 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.4015, allocations: 249.1 kB / 0.5939 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.4015, allocations: 2.969 kB / 0.5939 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4015, allocations: 4 kB / 0.5939 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4015, allocations: 0 / 0.5939 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/0.4024, allocations: 0.7329 MB / 0.5946 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4024, allocations: 2 kB / 0.5946 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.4025, allocations: 35.11 kB / 0.5946 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4025, allocations: 2.094 kB / 0.5946 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4026, allocations: 7.578 kB / 0.5946 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4026, allocations: 5.969 kB / 0.5946 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4026, allocations: 0.9688 kB / 0.5946 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.403, allocations: 354.7 kB / 0.595 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4031, allocations: 152.3 kB / 0.5951 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.4032, allocations: 6.469 kB / 0.5951 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.4033, allocations: 13.42 kB / 0.5951 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.4034, allocations: 18.77 kB / 0.5952 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4034, allocations: 10.56 kB / 0.5952 GB, free: 10.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003698/0.4038, allocations: 419.8 kB / 0.5956 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4038, allocations: 0 / 0.5956 GB, free: 10.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006953/0.4045, allocations: 223.5 kB / 0.5958 GB, free: 10.45 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.0009974/0.4055, allocations: 0.4923 MB / 0.5963 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.4061, allocations: 325.9 kB / 0.5966 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4061, allocations: 0 / 0.5966 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.4063, allocations: 91.03 kB / 0.5967 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4073, allocations: 256.9 kB / 0.5969 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4087, allocations: 0.8007 MB / 0.5977 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.409, allocations: 0.8506 MB / 0.5985 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002984/0.4093, allocations: 100.4 kB / 0.5986 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.4094, allocations: 35.59 kB / 0.5986 GB, free: 8.574 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4094, allocations: 0 / 0.5986 GB, free: 8.574 MB / 446.1 MB Notification: Performance of Templates: time 0.01567/0.4251, allocations: 10.2 MB / 0.6086 GB, free: 15.78 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)