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.00105/0.00105, allocations: 88.17 kB / 15.7 MB, free: 460 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.001082/0.001082, allocations: 173.2 kB / 16.58 MB, free: 6.852 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.427/1.427, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.807/0.807, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 8 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 77.53 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01719/0.1904, allocations: 15.98 MB / 0.5749 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006468/0.1969, allocations: 4.605 MB / 0.5794 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.1976, allocations: 7.938 kB / 0.5794 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008863/0.1985, allocations: 190.9 kB / 0.5796 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.2002, allocations: 0.4975 MB / 0.5801 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.2021, allocations: 0.6009 MB / 0.5807 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.2038, allocations: 1.087 MB / 0.5818 GB, free: 2.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.2044, allocations: 258.7 kB / 0.582 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008406/0.2053, allocations: 366.4 kB / 0.5824 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.2058, allocations: 286.8 kB / 0.5826 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.263e-05/0.2059, allocations: 16 kB / 0.5826 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.2072, allocations: 0.5926 MB / 0.5832 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2073, allocations: 115.6 kB / 0.5833 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2075, allocations: 113.5 kB / 0.5834 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000863/0.2084, allocations: 0.5887 MB / 0.584 GB, free: 68 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2084, allocations: 4 kB / 0.584 GB, free: 64 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2084, allocations: 3.938 kB / 0.584 GB, free: 60 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.2084, allocations: 0 / 0.584 GB, free: 60 kB / 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.2842/0.4927, allocations: 0.7882 MB / 0.5848 GB, free: 32.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.4927, allocations: 9.688 kB / 0.5848 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.493, allocations: 57.56 kB / 0.5849 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006536/0.4937, allocations: 433.4 kB / 0.5853 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.4937, allocations: 23.59 kB / 0.5853 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.4938, allocations: 29.73 kB / 0.5853 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.4944, allocations: 291.9 kB / 0.5856 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4944, allocations: 3.938 kB / 0.5856 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.4944, allocations: 10.44 kB / 0.5856 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.4945, allocations: 6.25 kB / 0.5856 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.4949, allocations: 201.2 kB / 0.5858 GB, free: 32.56 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.001893/0.4968, allocations: 1.477 MB / 0.5873 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.4972, allocations: 168.5 kB / 0.5874 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.4974, allocations: 85.05 kB / 0.5875 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.499, allocations: 1.289 MB / 0.5888 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.499, allocations: 37.84 kB / 0.5888 GB, free: 30.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.499, allocations: 0.6562 kB / 0.5888 GB, free: 30.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007103/0.4997, allocations: 267.9 kB / 0.589 GB, free: 30.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.4998, allocations: 52.73 kB / 0.5891 GB, free: 30.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.5006, allocations: 0.5858 MB / 0.5897 GB, free: 30.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5006, allocations: 28.52 kB / 0.5897 GB, free: 30.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.5008, allocations: 272 kB / 0.59 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5009, allocations: 53.7 kB / 0.59 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.5009, allocations: 8.781 kB / 0.59 GB, free: 29.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.501, allocations: 357.5 kB / 0.5904 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.5012, allocations: 78.88 kB / 0.5904 GB, free: 29.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.5015, allocations: 211.3 kB / 0.5906 GB, free: 29.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.5017, allocations: 107.1 kB / 0.5907 GB, free: 29.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5017, allocations: 1 kB / 0.5907 GB, free: 29.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005781/0.5023, allocations: 321.5 kB / 0.591 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.5024, allocations: 161 kB / 0.5912 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5024, allocations: 3.125 kB / 0.5912 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.5024, allocations: 4.391 kB / 0.5912 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.5027, allocations: 67.64 kB / 0.5913 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5027, allocations: 3.969 kB / 0.5913 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.503, allocations: 52.03 kB / 0.5913 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.5031, allocations: 16.12 kB / 0.5913 GB, free: 29.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.5031, allocations: 4.109 kB / 0.5913 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004793/0.5036, allocations: 245.3 kB / 0.5916 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5036, allocations: 2.094 kB / 0.5916 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.5036, allocations: 8.297 kB / 0.5916 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.5039, allocations: 67.34 kB / 0.5916 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5039, allocations: 7.922 kB / 0.5917 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.5041, allocations: 42.2 kB / 0.5917 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.5042, allocations: 15.05 kB / 0.5917 GB, free: 28.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.5044, allocations: 259.5 kB / 0.592 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.5045, allocations: 53.31 kB / 0.592 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.505, allocations: 270.2 kB / 0.5923 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.505, allocations: 6.234 kB / 0.5923 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.505, allocations: 0.6875 kB / 0.5923 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5051, allocations: 3.219 kB / 0.5923 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.5061, allocations: 0.745 MB / 0.593 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5061, allocations: 0.875 kB / 0.593 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.5062, allocations: 32.06 kB / 0.593 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5062, allocations: 4.562 kB / 0.593 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.5063, allocations: 6.797 kB / 0.593 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5063, allocations: 7.469 kB / 0.5931 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5063, allocations: 1.375 kB / 0.5931 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.5067, allocations: 367.3 kB / 0.5934 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.5069, allocations: 158.7 kB / 0.5936 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.5069, allocations: 3.094 kB / 0.5936 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.5072, allocations: 19.12 kB / 0.5936 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.5072, allocations: 12.36 kB / 0.5936 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5073, allocations: 13.38 kB / 0.5936 GB, free: 27.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004887/0.5078, allocations: 413.6 kB / 0.594 GB, free: 27.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5078, allocations: 9.25 kB / 0.594 GB, free: 27.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007974/0.5086, allocations: 229.6 kB / 0.5942 GB, free: 27.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.5097, allocations: 497.8 kB / 0.5947 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.5105, allocations: 336.7 kB / 0.595 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5105, allocations: 0 / 0.595 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.5107, allocations: 96.22 kB / 0.5951 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.512, allocations: 242.8 kB / 0.5953 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.5135, allocations: 0.9702 MB / 0.5963 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.5139, allocations: 0.8456 MB / 0.5971 GB, free: 25.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.5143, allocations: 102.7 kB / 0.5972 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.5144, allocations: 41.05 kB / 0.5973 GB, free: 25.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5144, allocations: 0 / 0.5973 GB, free: 25.74 MB / 446.1 MB Notification: Performance of Templates: time 0.02121/0.5356, allocations: 9.591 MB / 0.6066 GB, free: 23.05 MB / 446.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)