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.001773/0.001773, allocations: 110 kB / 16.41 MB, free: 6.484 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.001684/0.001685, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7218/0.7218, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 64.48 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1703, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01655/0.1869, allocations: 15.52 MB / 0.6472 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007059/0.194, allocations: 4.33 MB / 0.6515 GB, free: 480 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.1948, allocations: 15.88 kB / 0.6515 GB, free: 464 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000956/0.1957, allocations: 266.3 kB / 0.6517 GB, free: 196 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.1973, allocations: 0.6062 MB / 0.6523 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.1992, allocations: 0.7067 MB / 0.653 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.2005, allocations: 1.033 MB / 0.654 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.201, allocations: 343.7 kB / 0.6544 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.2017, allocations: 422.3 kB / 0.6548 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.2021, allocations: 322.5 kB / 0.6551 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.2022, allocations: 28 kB / 0.6551 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.2033, allocations: 0.6317 MB / 0.6557 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2035, allocations: 103.7 kB / 0.6558 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.2037, allocations: 226.7 kB / 0.656 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2047, allocations: 0.7633 MB / 0.6568 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2047, allocations: 0 / 0.6568 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2048, allocations: 0 / 0.6568 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2048, allocations: 0 / 0.6568 GB, free: 11.02 MB / 0.4981 GB 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.001263/0.206, allocations: 0.833 MB / 0.6576 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2061, allocations: 8.031 kB / 0.6576 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.2062, allocations: 56.28 kB / 0.6576 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.2068, allocations: 429.4 kB / 0.658 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2069, allocations: 20.44 kB / 0.6581 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2069, allocations: 31.98 kB / 0.6581 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.2073, allocations: 207.2 kB / 0.6583 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2074, allocations: 3.938 kB / 0.6583 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2074, allocations: 8 kB / 0.6583 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2074, allocations: 4 kB / 0.6583 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.2078, allocations: 169.6 kB / 0.6585 GB, free: 9.176 MB / 0.4981 GB 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.001618/0.2094, allocations: 0.9456 MB / 0.6594 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.2097, allocations: 128.7 kB / 0.6595 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2099, allocations: 76.81 kB / 0.6596 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.2102, allocations: 344.4 kB / 0.6599 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2102, allocations: 42.56 kB / 0.66 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.2102, allocations: 3.938 kB / 0.66 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005999/0.2108, allocations: 229.1 kB / 0.6602 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2109, allocations: 55.39 kB / 0.6602 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.2114, allocations: 474 kB / 0.6607 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.2115, allocations: 33.7 kB / 0.6607 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.2117, allocations: 232.6 kB / 0.6609 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.2117, allocations: 47.3 kB / 0.661 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.2118, allocations: 61.59 kB / 0.661 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.212, allocations: 354.7 kB / 0.6614 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.2121, allocations: 76.61 kB / 0.6615 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.2124, allocations: 157.1 kB / 0.6616 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2128, allocations: 164 kB / 0.6618 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2128, allocations: 96 / 0.6618 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005093/0.2133, allocations: 254.6 kB / 0.662 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2133, allocations: 8 kB / 0.662 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2133, allocations: 0 / 0.662 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2133, allocations: 0 / 0.662 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.2136, allocations: 43.97 kB / 0.6621 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.2136, allocations: 11.92 kB / 0.6621 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.2139, allocations: 31.73 kB / 0.6621 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.214, allocations: 20.08 kB / 0.6621 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002887/0.2143, allocations: 188.1 kB / 0.6623 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002437/0.2145, allocations: 155.4 kB / 0.6624 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003304/0.2149, allocations: 181 kB / 0.6626 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2149, allocations: 0 / 0.6626 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004906/0.2154, allocations: 251.8 kB / 0.6629 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2154, allocations: 12.06 kB / 0.6629 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.2154, allocations: 0 / 0.6629 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.2154, allocations: 4 kB / 0.6629 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2156, allocations: 47.91 kB / 0.6629 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2156, allocations: 4 kB / 0.6629 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.216, allocations: 39.75 kB / 0.663 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.216, allocations: 8 kB / 0.663 GB, free: 4.246 MB / 0.4981 GB 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.0001542/0.2162, allocations: 196.2 kB / 0.6632 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.2162, allocations: 47.38 kB / 0.6632 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.2168, allocations: 245.2 kB / 0.6634 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2168, allocations: 4.094 kB / 0.6634 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2168, allocations: 3.938 kB / 0.6634 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2168, allocations: 3.984 kB / 0.6634 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2179, allocations: 0.6967 MB / 0.6641 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2179, allocations: 0 / 0.6641 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.218, allocations: 35.92 kB / 0.6642 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.218, allocations: 0 / 0.6642 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2181, allocations: 8 kB / 0.6642 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.2181, allocations: 12.06 kB / 0.6642 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2181, allocations: 0 / 0.6642 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.2185, allocations: 348.1 kB / 0.6645 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.2187, allocations: 132.5 kB / 0.6646 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.2188, allocations: 11.98 kB / 0.6646 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.219, allocations: 15.92 kB / 0.6647 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.219, allocations: 11.98 kB / 0.6647 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.219, allocations: 4 kB / 0.6647 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003931/0.2194, allocations: 338.9 kB / 0.665 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2195, allocations: 0 / 0.665 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007494/0.2202, allocations: 203.7 kB / 0.6652 GB, free: 1.84 MB / 0.4981 GB 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.001235/0.2214, allocations: 476.4 kB / 0.6657 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007006/0.2222, allocations: 267.7 kB / 0.6659 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2222, allocations: 0 / 0.6659 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.2224, allocations: 87.83 kB / 0.666 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.2233, allocations: 207.3 kB / 0.6662 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2247, allocations: 0.6973 MB / 0.6669 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.2252, allocations: 0.827 MB / 0.6677 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.2256, allocations: 95.45 kB / 0.6678 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.2257, allocations: 31.44 kB / 0.6678 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.2257, allocations: 0 / 0.6678 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.01573/0.2414, allocations: 8.527 MB / 0.6761 GB, free: 6.836 MB / 0.5137 GB 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)