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.000877/0.000877, allocations: 93.5 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.0008135/0.0008136, allocations: 176.1 kB / 16.91 MB, free: 6.68 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 123.1 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 11.98 kB / 0.4934 GB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4976, allocations: 79.29 MB / 0.5708 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03013/0.5278, allocations: 29.84 MB / 0.5999 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.5437, allocations: 10.72 MB / 0.6104 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.5452, allocations: 24.03 kB / 0.6104 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.5465, allocations: 319.8 kB / 0.6107 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.5504, allocations: 1.061 MB / 0.6118 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.5531, allocations: 0.7777 MB / 0.6125 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.5572, allocations: 2.826 MB / 0.6153 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.5583, allocations: 0.5664 MB / 0.6158 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.561, allocations: 0.8901 MB / 0.6167 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.5626, allocations: 0.6619 MB / 0.6173 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.5628, allocations: 30.66 kB / 0.6174 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.5648, allocations: 0.5723 MB / 0.6179 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.5651, allocations: 141.9 kB / 0.6181 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.5656, allocations: 426.4 kB / 0.6185 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.5671, allocations: 1.047 MB / 0.6195 GB, free: 7.961 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5671, allocations: 0.9375 kB / 0.6195 GB, free: 7.961 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5672, allocations: 0 / 0.6195 GB, free: 7.961 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.5672, allocations: 0 / 0.6195 GB, free: 7.961 MB / 462.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.001973/0.5692, allocations: 1.023 MB / 0.6205 GB, free: 7.117 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.5692, allocations: 7.812 kB / 0.6205 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.5694, allocations: 95.66 kB / 0.6206 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008587/0.5703, allocations: 0.558 MB / 0.6211 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.5704, allocations: 50.7 kB / 0.6212 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.5704, allocations: 52.38 kB / 0.6212 GB, free: 6.559 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.5713, allocations: 416.2 kB / 0.6216 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5713, allocations: 1.219 kB / 0.6216 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.5713, allocations: 20.12 kB / 0.6217 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5714, allocations: 10.06 kB / 0.6217 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/0.572, allocations: 311.4 kB / 0.622 GB, free: 6.176 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.003084/0.5751, allocations: 1.871 MB / 0.6238 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.5755, allocations: 173.2 kB / 0.624 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.5758, allocations: 84.56 kB / 0.624 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.5761, allocations: 336 kB / 0.6244 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.5761, allocations: 36.34 kB / 0.6244 GB, free: 4.047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.5761, allocations: 0 / 0.6244 GB, free: 4.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007863/0.5769, allocations: 326.2 kB / 0.6247 GB, free: 3.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.577, allocations: 52.78 kB / 0.6248 GB, free: 3.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.5778, allocations: 0.6814 MB / 0.6254 GB, free: 3.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/0.5779, allocations: 40.11 kB / 0.6255 GB, free: 3.387 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.5782, allocations: 371 kB / 0.6258 GB, free: 3.062 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.5782, allocations: 59.89 kB / 0.6259 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.5783, allocations: 43.03 kB / 0.6259 GB, free: 2.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5785, allocations: 378.1 kB / 0.6263 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.5788, allocations: 112 kB / 0.6264 GB, free: 2.566 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.5791, allocations: 192.8 kB / 0.6266 GB, free: 2.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.5796, allocations: 246 kB / 0.6268 GB, free: 2.309 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5796, allocations: 0 / 0.6268 GB, free: 2.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007874/0.5804, allocations: 411.2 kB / 0.6272 GB, free: 2.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.5805, allocations: 109.8 kB / 0.6273 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5805, allocations: 3.984 kB / 0.6273 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5805, allocations: 2.281 kB / 0.6273 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.5816, allocations: 163.6 kB / 0.6275 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.5829, allocations: 2.369 MB / 0.6298 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.5837, allocations: 87.69 kB / 0.6299 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.5838, allocations: 19.98 kB / 0.6299 GB, free: 15.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.5838, allocations: 6.812 kB / 0.6299 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006348/0.5844, allocations: 291.8 kB / 0.6302 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5844, allocations: 7.984 kB / 0.6302 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.5844, allocations: 112 / 0.6302 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.5849, allocations: 107.8 kB / 0.6303 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.5849, allocations: 0 / 0.6303 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/0.5856, allocations: 87.56 kB / 0.6304 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.5856, allocations: 8 kB / 0.6304 GB, free: 14.93 MB / 478.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.0003253/0.5859, allocations: 269 kB / 0.6306 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.5861, allocations: 71.06 kB / 0.6307 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.5868, allocations: 320 kB / 0.631 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5868, allocations: 8 kB / 0.631 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5869, allocations: 0 / 0.631 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5869, allocations: 0 / 0.631 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.5884, allocations: 0.9072 MB / 0.6319 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5884, allocations: 128 / 0.6319 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.5888, allocations: 75.88 kB / 0.632 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5888, allocations: 4 kB / 0.632 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5888, allocations: 8 kB / 0.632 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.59, allocations: 2.363 MB / 0.6343 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.59, allocations: 0 / 0.6343 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.5907, allocations: 414 kB / 0.6347 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.591, allocations: 172.1 kB / 0.6348 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.5911, allocations: 8 kB / 0.6348 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.5915, allocations: 55.84 kB / 0.6349 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.5916, allocations: 11.98 kB / 0.6349 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.5916, allocations: 15.98 kB / 0.6349 GB, free: 10.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005881/0.5922, allocations: 471 kB / 0.6354 GB, free: 9.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5922, allocations: 0 / 0.6354 GB, free: 9.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001012/0.5933, allocations: 351.1 kB / 0.6357 GB, free: 9.227 MB / 478.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.0005337/0.5938, allocations: 246.4 kB / 0.6359 GB, free: 8.988 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.5955, allocations: 0.5084 MB / 0.6364 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5956, allocations: 0 / 0.6364 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.596, allocations: 148 kB / 0.6366 GB, free: 8.336 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.5984, allocations: 369.5 kB / 0.6369 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.6006, allocations: 1.403 MB / 0.6383 GB, free: 6.543 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.6011, allocations: 0.9371 MB / 0.6392 GB, free: 5.578 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006508/0.6018, allocations: 120.2 kB / 0.6393 GB, free: 5.461 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6019, allocations: 47.44 kB / 0.6394 GB, free: 5.414 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6019, allocations: 0 / 0.6394 GB, free: 5.414 MB / 478.1 MB Notification: Performance of Templates: time 0.02554/0.6275, allocations: 12.35 MB / 0.6514 GB, free: 9.277 MB / 494.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)