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.001108/0.001108, allocations: 89.91 kB / 16.67 MB, free: 6.59 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.001321/0.001322, allocations: 188 kB / 17.58 MB, free: 6.188 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: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7285/0.7285, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4114, allocations: 77.52 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01578/0.4272, allocations: 16.82 MB / 0.577 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006645/0.4339, allocations: 4.862 MB / 0.5818 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000677/0.4347, allocations: 18.03 kB / 0.5818 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009075/0.4356, allocations: 205.5 kB / 0.582 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.4372, allocations: 0.566 MB / 0.5825 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.4393, allocations: 0.6449 MB / 0.5832 GB, free: 20 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.4411, allocations: 1.279 MB / 0.5844 GB, free: 19.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000538/0.4416, allocations: 284.7 kB / 0.5847 GB, free: 19.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007887/0.4424, allocations: 370.4 kB / 0.585 GB, free: 19.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.4429, allocations: 305.7 kB / 0.5853 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.443, allocations: 15.16 kB / 0.5853 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.4445, allocations: 0.7018 MB / 0.586 GB, free: 18.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.4446, allocations: 120.9 kB / 0.5861 GB, free: 18.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.4449, allocations: 244 kB / 0.5864 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.4459, allocations: 0.6195 MB / 0.587 GB, free: 18.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4459, allocations: 7.281 kB / 0.587 GB, free: 18.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4459, allocations: 0 / 0.587 GB, free: 18.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.446, allocations: 0 / 0.587 GB, free: 18.53 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.001156/0.4471, allocations: 0.7897 MB / 0.5878 GB, free: 17.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4472, allocations: 16.31 kB / 0.5878 GB, free: 17.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.4473, allocations: 63.09 kB / 0.5878 GB, free: 17.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.4479, allocations: 441.5 kB / 0.5883 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4479, allocations: 25.25 kB / 0.5883 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.448, allocations: 31.28 kB / 0.5883 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.4485, allocations: 293 kB / 0.5886 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4485, allocations: 0.9688 kB / 0.5886 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.4486, allocations: 11.52 kB / 0.5886 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4486, allocations: 8.25 kB / 0.5886 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.449, allocations: 195.2 kB / 0.5888 GB, free: 17.3 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.001708/0.4507, allocations: 1.492 MB / 0.5903 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.4511, allocations: 165.9 kB / 0.5904 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.4513, allocations: 90.22 kB / 0.5905 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.4528, allocations: 1.289 MB / 0.5918 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.4528, allocations: 36.28 kB / 0.5918 GB, free: 14.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.4528, allocations: 0 / 0.5918 GB, free: 14.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006713/0.4535, allocations: 263.8 kB / 0.592 GB, free: 14.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.4535, allocations: 53.47 kB / 0.5921 GB, free: 14.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000724/0.4542, allocations: 0.5884 MB / 0.5927 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.4543, allocations: 31.02 kB / 0.5927 GB, free: 14.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.4545, allocations: 270.2 kB / 0.593 GB, free: 14.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4545, allocations: 54.36 kB / 0.593 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.4546, allocations: 34.75 kB / 0.593 GB, free: 14.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.4546, allocations: 358.6 kB / 0.5934 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.4548, allocations: 77.55 kB / 0.5935 GB, free: 13.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.4551, allocations: 217.7 kB / 0.5937 GB, free: 13.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.4555, allocations: 245.7 kB / 0.5939 GB, free: 13.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4555, allocations: 0.9688 kB / 0.5939 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005755/0.4561, allocations: 318.1 kB / 0.5942 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.4561, allocations: 166.3 kB / 0.5944 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4561, allocations: 3.125 kB / 0.5944 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4562, allocations: 3.688 kB / 0.5944 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.4564, allocations: 65.81 kB / 0.5944 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4564, allocations: 11.92 kB / 0.5944 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.4569, allocations: 49.89 kB / 0.5945 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.4569, allocations: 18.27 kB / 0.5945 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.4569, allocations: 6.531 kB / 0.5945 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004879/0.4574, allocations: 251.5 kB / 0.5948 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4574, allocations: 1.969 kB / 0.5948 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.4574, allocations: 4.25 kB / 0.5948 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4577, allocations: 66 kB / 0.5948 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4577, allocations: 3.656 kB / 0.5948 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.458, allocations: 55.81 kB / 0.5949 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.4581, allocations: 10.44 kB / 0.5949 GB, free: 12.74 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 0.0002163/0.4583, allocations: 260.2 kB / 0.5951 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.4584, allocations: 49.58 kB / 0.5952 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.4589, allocations: 282.4 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.459, allocations: 6.703 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.459, allocations: 0 / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.459, allocations: 0 / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.46, allocations: 0.7461 MB / 0.5962 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.46, allocations: 1.156 kB / 0.5962 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.4601, allocations: 30.67 kB / 0.5962 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4601, allocations: 5.406 kB / 0.5962 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4602, allocations: 7.062 kB / 0.5962 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4602, allocations: 9.922 kB / 0.5962 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4602, allocations: 2 kB / 0.5962 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.4607, allocations: 355.8 kB / 0.5966 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.4609, allocations: 154.3 kB / 0.5967 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.4609, allocations: 6.484 kB / 0.5967 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.4612, allocations: 22.83 kB / 0.5968 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.4612, allocations: 14.23 kB / 0.5968 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.4613, allocations: 9.531 kB / 0.5968 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005459/0.4618, allocations: 416.5 kB / 0.5972 GB, free: 11.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4618, allocations: 0 / 0.5972 GB, free: 11.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001057/0.4629, allocations: 239.4 kB / 0.5974 GB, free: 10.96 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.001342/0.4642, allocations: 492.7 kB / 0.5979 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007992/0.465, allocations: 338.8 kB / 0.5982 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4651, allocations: 0 / 0.5982 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.4653, allocations: 94.97 kB / 0.5983 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.4668, allocations: 253.3 kB / 0.5985 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4681, allocations: 1.04 MB / 0.5995 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.4684, allocations: 0.8383 MB / 0.6004 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.4686, allocations: 45.48 kB / 0.6004 GB, free: 8.926 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4686, allocations: 0 / 0.6004 GB, free: 8.926 MB / 446.1 MB Notification: Performance of Templates: time 0.01192/0.4805, allocations: 8.493 MB / 0.6087 GB, free: 1.547 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)