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.001172/0.001172, allocations: 98.58 kB / 16.02 MB, free: 80 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.00136/0.00136, allocations: 181.6 kB / 16.92 MB, free: 6.688 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7167/0.7167, allocations: 115.4 MB / 407.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 495.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1631, allocations: 77.51 MB / 0.5598 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01581/0.179, allocations: 14.94 MB / 0.5744 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006706/0.1857, allocations: 4.3 MB / 0.5786 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.1863, allocations: 11.88 kB / 0.5786 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009292/0.1872, allocations: 218.9 kB / 0.5788 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.1887, allocations: 0.5521 MB / 0.5793 GB, free: 5.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1905, allocations: 0.625 MB / 0.58 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1922, allocations: 1.313 MB / 0.5812 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.1927, allocations: 284.2 kB / 0.5815 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.1934, allocations: 382.2 kB / 0.5819 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.1938, allocations: 314.5 kB / 0.5822 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.1939, allocations: 15.98 kB / 0.5822 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009907/0.1949, allocations: 0.5965 MB / 0.5828 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.195, allocations: 87.59 kB / 0.5829 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1952, allocations: 232.4 kB / 0.5831 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.196, allocations: 0.7437 MB / 0.5838 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1961, allocations: 4 kB / 0.5838 GB, free: 0.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1961, allocations: 0 / 0.5838 GB, free: 0.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1961, allocations: 0 / 0.5838 GB, free: 0.5 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.3124/0.5085, allocations: 0.7377 MB / 0.5845 GB, free: 33.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.5086, allocations: 9.312 kB / 0.5845 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.5088, allocations: 55.81 kB / 0.5846 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.5096, allocations: 415.4 kB / 0.585 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.5097, allocations: 18.97 kB / 0.585 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.5097, allocations: 29.34 kB / 0.585 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.5103, allocations: 224.8 kB / 0.5852 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5103, allocations: 0.75 kB / 0.5852 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.5103, allocations: 12.84 kB / 0.5853 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5104, allocations: 9.172 kB / 0.5853 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.5108, allocations: 179.7 kB / 0.5854 GB, free: 32.73 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.001908/0.5127, allocations: 0.9512 MB / 0.5864 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.5131, allocations: 137.2 kB / 0.5865 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.5133, allocations: 77.39 kB / 0.5866 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.5135, allocations: 337.8 kB / 0.5869 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.5136, allocations: 39.16 kB / 0.5869 GB, free: 31.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.5136, allocations: 0 / 0.5869 GB, free: 31.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006672/0.5142, allocations: 261 kB / 0.5872 GB, free: 31.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.5143, allocations: 53.38 kB / 0.5872 GB, free: 31.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.5149, allocations: 478.6 kB / 0.5877 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.5149, allocations: 34.61 kB / 0.5877 GB, free: 31.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.5151, allocations: 225.8 kB / 0.5879 GB, free: 31.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.5152, allocations: 48.31 kB / 0.588 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.5152, allocations: 30.53 kB / 0.588 GB, free: 31.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5153, allocations: 356.8 kB / 0.5883 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.5155, allocations: 70.02 kB / 0.5884 GB, free: 31.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.5159, allocations: 159.2 kB / 0.5886 GB, free: 31.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.5163, allocations: 176.6 kB / 0.5887 GB, free: 31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5163, allocations: 0 / 0.5887 GB, free: 31 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006206/0.5169, allocations: 270.8 kB / 0.589 GB, free: 30.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.517, allocations: 108.5 kB / 0.5891 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.517, allocations: 1.281 kB / 0.5891 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5171, allocations: 2.188 kB / 0.5891 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.5173, allocations: 53.17 kB / 0.5892 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5173, allocations: 1.922 kB / 0.5892 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.5177, allocations: 43.36 kB / 0.5892 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5178, allocations: 9.562 kB / 0.5892 GB, free: 30.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.5178, allocations: 4.25 kB / 0.5892 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004482/0.5182, allocations: 196.7 kB / 0.5894 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.5182, allocations: 0 / 0.5894 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.5182, allocations: 2.906 kB / 0.5894 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.5185, allocations: 56.53 kB / 0.5895 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5185, allocations: 5.344 kB / 0.5895 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.5188, allocations: 44.62 kB / 0.5895 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.5188, allocations: 8.109 kB / 0.5895 GB, free: 30.73 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 0.0001778/0.519, allocations: 242.2 kB / 0.5897 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.5191, allocations: 43.38 kB / 0.5898 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/0.5197, allocations: 261.5 kB / 0.59 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5197, allocations: 6.703 kB / 0.59 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5197, allocations: 0.75 kB / 0.59 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5197, allocations: 1.594 kB / 0.59 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5209, allocations: 0.7126 MB / 0.5907 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5209, allocations: 5.281 kB / 0.5907 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.5211, allocations: 38.52 kB / 0.5908 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5211, allocations: 5.031 kB / 0.5908 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5211, allocations: 7.656 kB / 0.5908 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.5211, allocations: 1.781 kB / 0.5908 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5211, allocations: 2.172 kB / 0.5908 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.5216, allocations: 357.4 kB / 0.5911 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5218, allocations: 146.1 kB / 0.5913 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.5219, allocations: 9.938 kB / 0.5913 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.5221, allocations: 20.94 kB / 0.5913 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.5222, allocations: 11.44 kB / 0.5913 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.5222, allocations: 6.078 kB / 0.5913 GB, free: 29.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004759/0.5227, allocations: 336.3 kB / 0.5916 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5227, allocations: 4.688 kB / 0.5916 GB, free: 29.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007711/0.5235, allocations: 194.6 kB / 0.5918 GB, free: 29.34 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.001244/0.5247, allocations: 492.2 kB / 0.5923 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.5255, allocations: 278 kB / 0.5926 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5255, allocations: 0.8438 kB / 0.5926 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.5257, allocations: 86.52 kB / 0.5926 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5271, allocations: 221.6 kB / 0.5929 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.5285, allocations: 0.8727 MB / 0.5937 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.529, allocations: 0.8264 MB / 0.5945 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.5294, allocations: 90.59 kB / 0.5946 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.5295, allocations: 35.72 kB / 0.5946 GB, free: 27.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5295, allocations: 0.8438 kB / 0.5946 GB, free: 27.73 MB / 446.1 MB Notification: Performance of Templates: time 0.02239/0.5519, allocations: 8.279 MB / 0.6027 GB, free: 25.99 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)