Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 96.73 kB / 15.69 MB, free: 480 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.00156/0.00156, allocations: 173.8 kB / 16.57 MB, free: 6.398 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.389/1.389, allocations: 223.2 MB / 240.5 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.6938/0.6938, allocations: 113.8 MB / 405.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 18.52 kB / 493.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 77.15 MB / 0.5569 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02938/0.1964, allocations: 25.79 MB / 0.582 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3448/0.5412, allocations: 9.252 MB / 0.5911 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.5425, allocations: 20.62 kB / 0.5911 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.5437, allocations: 352 kB / 0.5914 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.548, allocations: 1.139 MB / 0.5925 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.5512, allocations: 0.9078 MB / 0.5934 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003249/0.5545, allocations: 1.244 MB / 0.5946 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.5557, allocations: 0.5331 MB / 0.5952 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.5582, allocations: 0.7796 MB / 0.5959 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.5595, allocations: 464 kB / 0.5964 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.5596, allocations: 30.06 kB / 0.5964 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.5611, allocations: 384 kB / 0.5968 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.5613, allocations: 130.3 kB / 0.5969 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.5616, allocations: 181.3 kB / 0.5971 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.5628, allocations: 0.7106 MB / 0.5978 GB, free: 11.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5628, allocations: 5.062 kB / 0.5978 GB, free: 11.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5629, allocations: 0.7031 kB / 0.5978 GB, free: 11.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.5629, allocations: 0 / 0.5978 GB, free: 11.26 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002101/0.565, allocations: 1.009 MB / 0.5987 GB, free: 26.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.565, allocations: 8.531 kB / 0.5987 GB, free: 26.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.5652, allocations: 94.69 kB / 0.5988 GB, free: 26.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009986/0.5662, allocations: 0.5392 MB / 0.5994 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.5663, allocations: 40.67 kB / 0.5994 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.5664, allocations: 64.23 kB / 0.5995 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5674, allocations: 409.1 kB / 0.5999 GB, free: 26.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5675, allocations: 1.188 kB / 0.5999 GB, free: 26.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.5675, allocations: 18.81 kB / 0.5999 GB, free: 26.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.5675, allocations: 12.33 kB / 0.5999 GB, free: 26.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.5684, allocations: 310.6 kB / 0.6002 GB, free: 26.21 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.003759/0.5721, allocations: 1.861 MB / 0.602 GB, free: 25.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.5725, allocations: 172.7 kB / 0.6022 GB, free: 25.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.5728, allocations: 336.4 kB / 0.6025 GB, free: 24.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5729, allocations: 38.28 kB / 0.6025 GB, free: 24.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 3.126e-06/0.5729, allocations: 0 / 0.6025 GB, free: 24.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009017/0.5738, allocations: 316.2 kB / 0.6028 GB, free: 24.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.5738, allocations: 62.08 kB / 0.6029 GB, free: 24.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.575, allocations: 0.6763 MB / 0.6035 GB, free: 24.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.575, allocations: 33.3 kB / 0.6036 GB, free: 24.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.5754, allocations: 368.6 kB / 0.6039 GB, free: 24.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.5754, allocations: 65.16 kB / 0.604 GB, free: 24.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.5754, allocations: 7.562 kB / 0.604 GB, free: 24.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.5757, allocations: 378.2 kB / 0.6044 GB, free: 24.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.576, allocations: 107 kB / 0.6045 GB, free: 24.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.5764, allocations: 171.9 kB / 0.6046 GB, free: 23.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.5768, allocations: 133.8 kB / 0.6048 GB, free: 23.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5768, allocations: 0.5938 kB / 0.6048 GB, free: 23.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001064/0.5779, allocations: 396.2 kB / 0.6051 GB, free: 23.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.5781, allocations: 274.4 kB / 0.6054 GB, free: 23.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.5781, allocations: 0 / 0.6054 GB, free: 23.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.5781, allocations: 2.625 kB / 0.6054 GB, free: 23.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5792, allocations: 167.2 kB / 0.6056 GB, free: 23.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.5806, allocations: 2.366 MB / 0.6079 GB, free: 21.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.5814, allocations: 89.69 kB / 0.6079 GB, free: 21.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.5815, allocations: 21.81 kB / 0.608 GB, free: 21.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5815, allocations: 3.75 kB / 0.608 GB, free: 21.2 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006437/0.5821, allocations: 289 kB / 0.6082 GB, free: 21.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5822, allocations: 2.047 kB / 0.6083 GB, free: 21.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-06/0.5822, allocations: 6.625 kB / 0.6083 GB, free: 21.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.5826, allocations: 105.2 kB / 0.6084 GB, free: 21.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5826, allocations: 2.219 kB / 0.6084 GB, free: 21.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.5831, allocations: 76.91 kB / 0.6084 GB, free: 21.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.5832, allocations: 15.41 kB / 0.6084 GB, free: 21.16 MB / 462.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004313/0.5836, allocations: 262.7 kB / 0.6087 GB, free: 20.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.5837, allocations: 78.61 kB / 0.6088 GB, free: 20.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000726/0.5844, allocations: 313.3 kB / 0.6091 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5845, allocations: 2.828 kB / 0.6091 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5845, allocations: 4.516 kB / 0.6091 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5845, allocations: 3.031 kB / 0.6091 GB, free: 20.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.5859, allocations: 0.9013 MB / 0.61 GB, free: 20.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5859, allocations: 2.188 kB / 0.61 GB, free: 20.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.5862, allocations: 74.14 kB / 0.61 GB, free: 20.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.5863, allocations: 11.75 kB / 0.61 GB, free: 20.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5863, allocations: 7.938 kB / 0.6101 GB, free: 20.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009875/0.5873, allocations: 2.357 MB / 0.6124 GB, free: 18.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5873, allocations: 1.344 kB / 0.6124 GB, free: 18.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.5878, allocations: 452.6 kB / 0.6128 GB, free: 17.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.5881, allocations: 180.9 kB / 0.613 GB, free: 17.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.5881, allocations: 6.188 kB / 0.613 GB, free: 17.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.5887, allocations: 47.08 kB / 0.613 GB, free: 17.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.5888, allocations: 26.09 kB / 0.613 GB, free: 17.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.5888, allocations: 6.906 kB / 0.613 GB, free: 17.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005694/0.5894, allocations: 469.4 kB / 0.6135 GB, free: 17.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5894, allocations: 1.375 kB / 0.6135 GB, free: 17.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001087/0.5905, allocations: 347.5 kB / 0.6138 GB, free: 17.57 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 (21): * 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): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004988/0.591, allocations: 251.9 kB / 0.6141 GB, free: 17.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.5926, allocations: 0.4999 MB / 0.6146 GB, free: 17.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5926, allocations: 0 / 0.6146 GB, free: 17.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.593, allocations: 151 kB / 0.6147 GB, free: 17.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.5948, allocations: 372.7 kB / 0.6151 GB, free: 17.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.5966, allocations: 1.334 MB / 0.6164 GB, free: 16.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.5971, allocations: 0.9484 MB / 0.6173 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004928/0.5976, allocations: 121.1 kB / 0.6174 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.831e-05/0.5977, allocations: 52.64 kB / 0.6174 GB, free: 15.88 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5977, allocations: 4 kB / 0.6174 GB, free: 15.88 MB / 462.1 MB Notification: Performance of Templates: time 0.02891/0.6266, allocations: 11.96 MB / 0.6291 GB, free: 10.75 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)