Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008051/0.0008053, allocations: 99.05 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.0008894/0.0008897, allocations: 182.4 kB / 16.92 MB, free: 6.707 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7084/0.7084, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.000515, allocations: 8 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 77.53 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3569/0.5391, allocations: 28.89 MB / 0.5882 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.5508, allocations: 8.123 MB / 0.5961 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.5523, allocations: 25.88 kB / 0.5961 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.5535, allocations: 343.4 kB / 0.5965 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.5576, allocations: 1.237 MB / 0.5977 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.5607, allocations: 1.035 MB / 0.5987 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006429/0.5671, allocations: 4.205 MB / 0.6028 GB, free: 9.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.5698, allocations: 1.164 MB / 0.6039 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.5738, allocations: 1.494 MB / 0.6054 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.577, allocations: 1.598 MB / 0.6069 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005521/0.5776, allocations: 64.72 kB / 0.607 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.5804, allocations: 0.9301 MB / 0.6079 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.5809, allocations: 338.8 kB / 0.6082 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009782/0.5819, allocations: 0.7073 MB / 0.6089 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.5843, allocations: 2.093 MB / 0.611 GB, free: 6.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5843, allocations: 0 / 0.611 GB, free: 6.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5843, allocations: 4 kB / 0.611 GB, free: 6.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.494e-05/0.5843, allocations: 0 / 0.611 GB, free: 6.727 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002435/0.5868, allocations: 1.342 MB / 0.6123 GB, free: 21.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5868, allocations: 9.531 kB / 0.6123 GB, free: 21.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.5872, allocations: 149 kB / 0.6124 GB, free: 21.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5886, allocations: 0.8963 MB / 0.6133 GB, free: 20.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.5887, allocations: 84 kB / 0.6134 GB, free: 20.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.589, allocations: 121.2 kB / 0.6135 GB, free: 20.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.59, allocations: 0.6413 MB / 0.6141 GB, free: 20.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.5901, allocations: 5.438 kB / 0.6141 GB, free: 20.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.5901, allocations: 20.75 kB / 0.6142 GB, free: 20.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.5902, allocations: 15.28 kB / 0.6142 GB, free: 20.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008569/0.591, allocations: 482.3 kB / 0.6146 GB, free: 20.25 MB / 462.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.004237/0.5953, allocations: 2.877 MB / 0.6174 GB, free: 17.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.5959, allocations: 318 kB / 0.6177 GB, free: 17.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.5962, allocations: 156.3 kB / 0.6179 GB, free: 17.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.5965, allocations: 346.5 kB / 0.6182 GB, free: 17.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.5965, allocations: 32.09 kB / 0.6183 GB, free: 17.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/0.5965, allocations: 0 / 0.6183 GB, free: 17.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001463/0.598, allocations: 0.5533 MB / 0.6188 GB, free: 17.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.598, allocations: 55.34 kB / 0.6188 GB, free: 16.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.5991, allocations: 0.9029 MB / 0.6197 GB, free: 16.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.5992, allocations: 57.48 kB / 0.6198 GB, free: 16.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.5996, allocations: 0.5417 MB / 0.6203 GB, free: 15.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.5997, allocations: 112.3 kB / 0.6204 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.5998, allocations: 68.92 kB / 0.6205 GB, free: 15.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5999, allocations: 330 kB / 0.6208 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.6003, allocations: 185.8 kB / 0.621 GB, free: 15.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.6015, allocations: 1.159 MB / 0.6221 GB, free: 14.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.6024, allocations: 471.8 kB / 0.6226 GB, free: 13.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6024, allocations: 1.375 kB / 0.6226 GB, free: 13.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001417/0.6038, allocations: 0.6673 MB / 0.6232 GB, free: 13.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.604, allocations: 152.8 kB / 0.6234 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.604, allocations: 2.125 kB / 0.6234 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.604, allocations: 4.656 kB / 0.6234 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.6054, allocations: 240.6 kB / 0.6236 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.607, allocations: 2.968 MB / 0.6265 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/0.6104, allocations: 0.743 MB / 0.6272 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.6105, allocations: 32.23 kB / 0.6272 GB, free: 10.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.6105, allocations: 5.219 kB / 0.6273 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009626/0.6115, allocations: 0.5021 MB / 0.6277 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.6115, allocations: 1.219 kB / 0.6277 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.6115, allocations: 5.531 kB / 0.6277 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.6122, allocations: 169.5 kB / 0.6279 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6122, allocations: 8.109 kB / 0.6279 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/0.6154, allocations: 0.734 MB / 0.6286 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.6155, allocations: 26.2 kB / 0.6287 GB, free: 9.398 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005475/0.616, allocations: 330.9 kB / 0.629 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6162, allocations: 106.1 kB / 0.6291 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.6173, allocations: 0.5223 MB / 0.6296 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6173, allocations: 3.125 kB / 0.6296 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6174, allocations: 0 / 0.6296 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.6174, allocations: 4.516 kB / 0.6296 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.6194, allocations: 1.265 MB / 0.6308 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6194, allocations: 3.312 kB / 0.6308 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.6199, allocations: 120.2 kB / 0.6309 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.6199, allocations: 7.156 kB / 0.631 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.6199, allocations: 19.7 kB / 0.631 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.6214, allocations: 2.943 MB / 0.6338 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6214, allocations: 0 / 0.6338 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.6222, allocations: 0.5798 MB / 0.6344 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.6226, allocations: 228.2 kB / 0.6346 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.6227, allocations: 7.984 kB / 0.6346 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.6232, allocations: 66.25 kB / 0.6347 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.6233, allocations: 28.41 kB / 0.6347 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.6233, allocations: 17.42 kB / 0.6347 GB, free: 4.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006945/0.624, allocations: 0.6055 MB / 0.6353 GB, free: 3.852 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.454e-06/0.624, allocations: 3.562 kB / 0.6353 GB, free: 3.852 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001514/0.6256, allocations: 0.5385 MB / 0.6359 GB, free: 3.734 MB / 462.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005979/0.6262, allocations: 324.2 kB / 0.6362 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.6284, allocations: 0.863 MB / 0.637 GB, free: 3.223 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6284, allocations: 0 / 0.637 GB, free: 3.223 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.629, allocations: 237.2 kB / 0.6372 GB, free: 3.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.6316, allocations: 490 kB / 0.6377 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.6339, allocations: 1.882 MB / 0.6395 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.6344, allocations: 1.021 MB / 0.6405 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009017/0.6353, allocations: 216.3 kB / 0.6408 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.6355, allocations: 87.36 kB / 0.6408 GB, free: 15.28 MB / 478.1 MB Notification: Performance of SimCode: time 4.4e-07/0.6355, allocations: 0 / 0.6408 GB, free: 15.28 MB / 478.1 MB Notification: Performance of Templates: time 0.03958/0.6751, allocations: 24.38 MB / 0.6646 GB, free: 7.348 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)