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.0009306/0.0009307, allocations: 92.95 kB / 16.02 MB, free: 84 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.001076/0.001076, allocations: 177.2 kB / 16.91 MB, free: 6.645 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.493/1.493, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6954/0.6954, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003344, allocations: 14.16 kB / 495.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 77.54 MB / 0.56 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.3715/0.5272, allocations: 29.83 MB / 0.5891 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.5436, allocations: 10.72 MB / 0.5996 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.5454, allocations: 22.22 kB / 0.5996 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.5467, allocations: 319.9 kB / 0.5999 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.5505, allocations: 1.06 MB / 0.6009 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.5534, allocations: 0.7592 MB / 0.6017 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004949/0.5583, allocations: 2.829 MB / 0.6044 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.5595, allocations: 0.5731 MB / 0.605 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.5619, allocations: 0.8894 MB / 0.6059 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.563, allocations: 0.665 MB / 0.6065 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.48e-05/0.5631, allocations: 30.12 kB / 0.6065 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.5649, allocations: 0.5744 MB / 0.6071 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.5652, allocations: 143 kB / 0.6072 GB, free: 8.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.5657, allocations: 419.9 kB / 0.6076 GB, free: 8.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.5673, allocations: 1.052 MB / 0.6087 GB, free: 7.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5674, allocations: 0 / 0.6087 GB, free: 7.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5674, allocations: 0 / 0.6087 GB, free: 7.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5674, allocations: 0 / 0.6087 GB, free: 7.918 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.001777/0.5692, allocations: 1.019 MB / 0.6097 GB, free: 23.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.5692, allocations: 9.125 kB / 0.6097 GB, free: 23.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.5694, allocations: 99.03 kB / 0.6098 GB, free: 23.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.5701, allocations: 0.5573 MB / 0.6103 GB, free: 22.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.5702, allocations: 47.53 kB / 0.6103 GB, free: 22.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.5703, allocations: 57.34 kB / 0.6104 GB, free: 22.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.5711, allocations: 413.2 kB / 0.6108 GB, free: 22.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5712, allocations: 0 / 0.6108 GB, free: 22.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.5712, allocations: 19.56 kB / 0.6108 GB, free: 22.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5712, allocations: 11.97 kB / 0.6108 GB, free: 22.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.5719, allocations: 319.5 kB / 0.6111 GB, free: 22.44 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.002706/0.5746, allocations: 1.86 MB / 0.6129 GB, free: 21.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.575, allocations: 178.1 kB / 0.6131 GB, free: 21.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.5752, allocations: 89.27 kB / 0.6132 GB, free: 21.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.5754, allocations: 335.7 kB / 0.6135 GB, free: 20.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.5754, allocations: 41 kB / 0.6136 GB, free: 20.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.5754, allocations: 0 / 0.6136 GB, free: 20.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007315/0.5762, allocations: 320.4 kB / 0.6139 GB, free: 20.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.5762, allocations: 54.22 kB / 0.6139 GB, free: 20.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.577, allocations: 0.6794 MB / 0.6146 GB, free: 20.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.5771, allocations: 39.08 kB / 0.6146 GB, free: 20.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.5774, allocations: 369.9 kB / 0.615 GB, free: 19.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.5774, allocations: 60.14 kB / 0.615 GB, free: 19.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.5775, allocations: 42.59 kB / 0.6151 GB, free: 19.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5776, allocations: 378 kB / 0.6154 GB, free: 19.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.5779, allocations: 109.7 kB / 0.6155 GB, free: 19.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.5782, allocations: 193.5 kB / 0.6157 GB, free: 19.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.5787, allocations: 247 kB / 0.616 GB, free: 19.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5787, allocations: 0 / 0.616 GB, free: 19.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000693/0.5794, allocations: 407.4 kB / 0.6163 GB, free: 19.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.5794, allocations: 108.8 kB / 0.6164 GB, free: 18.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5794, allocations: 0 / 0.6164 GB, free: 18.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5795, allocations: 6.312 kB / 0.6165 GB, free: 18.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5805, allocations: 173.1 kB / 0.6166 GB, free: 18.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.5821, allocations: 2.36 MB / 0.6189 GB, free: 16.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.5828, allocations: 91.27 kB / 0.619 GB, free: 16.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.5828, allocations: 18.28 kB / 0.619 GB, free: 16.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.5828, allocations: 4.219 kB / 0.619 GB, free: 16.52 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006055/0.5834, allocations: 305.3 kB / 0.6193 GB, free: 16.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5835, allocations: 4.172 kB / 0.6193 GB, free: 16.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.5835, allocations: 2.469 kB / 0.6193 GB, free: 16.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.5839, allocations: 98.95 kB / 0.6194 GB, free: 16.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5839, allocations: 4.844 kB / 0.6194 GB, free: 16.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.5844, allocations: 88.48 kB / 0.6195 GB, free: 16.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.5845, allocations: 11.77 kB / 0.6195 GB, free: 16.37 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 (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003491/0.5848, allocations: 264.3 kB / 0.6198 GB, free: 16.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.5849, allocations: 70.62 kB / 0.6198 GB, free: 16.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/0.5856, allocations: 331.3 kB / 0.6202 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5856, allocations: 2.25 kB / 0.6202 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5856, allocations: 0 / 0.6202 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5857, allocations: 3.969 kB / 0.6202 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.587, allocations: 0.9009 MB / 0.621 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5871, allocations: 1.188 kB / 0.621 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.5874, allocations: 75.77 kB / 0.6211 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.5874, allocations: 2.219 kB / 0.6211 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5874, allocations: 7.469 kB / 0.6211 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.5887, allocations: 2.352 MB / 0.6234 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5887, allocations: 2.188 kB / 0.6234 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.5893, allocations: 407.9 kB / 0.6238 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.5896, allocations: 176.4 kB / 0.624 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/0.5897, allocations: 6.188 kB / 0.624 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.5901, allocations: 54.94 kB / 0.624 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.5902, allocations: 12.23 kB / 0.6241 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.5902, allocations: 18.33 kB / 0.6241 GB, free: 12.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007243/0.5909, allocations: 474.2 kB / 0.6245 GB, free: 12.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5909, allocations: 1.188 kB / 0.6245 GB, free: 12.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00126/0.5922, allocations: 357.5 kB / 0.6249 GB, free: 12.14 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 (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005573/0.5928, allocations: 249.7 kB / 0.6251 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.5945, allocations: 0.503 MB / 0.6256 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5945, allocations: 0 / 0.6256 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.5949, allocations: 144.7 kB / 0.6257 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.5971, allocations: 371.3 kB / 0.6261 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.5992, allocations: 1.39 MB / 0.6274 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.5997, allocations: 0.9424 MB / 0.6284 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006497/0.6004, allocations: 128.5 kB / 0.6285 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.6005, allocations: 45.31 kB / 0.6285 GB, free: 9.691 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6005, allocations: 0 / 0.6285 GB, free: 9.691 MB / 462.1 MB Notification: Performance of Templates: time 0.02654/0.6271, allocations: 12.33 MB / 0.6406 GB, free: 2.195 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)