Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002439/0.002443, allocations: 355.9 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.656/1.656, allocations: 165.8 MB / 182.5 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.118/4.118, allocations: 410.8 MB / 0.5995 GB, free: 15.07 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 181.2 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 12 kB / 0.7423 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4198, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01665/0.4365, allocations: 16.08 MB / 0.8239 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.4468, allocations: 6.966 MB / 0.8307 GB, free: 5.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006108/0.4475, allocations: 15.88 kB / 0.8307 GB, free: 5.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.4484, allocations: 254.6 kB / 0.8309 GB, free: 5.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.4503, allocations: 0.5788 MB / 0.8315 GB, free: 4.836 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00565/0.456, allocations: 1.754 MB / 0.8332 GB, free: 3.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.4574, allocations: 1.087 MB / 0.8343 GB, free: 2.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.4579, allocations: 270.4 kB / 0.8345 GB, free: 1.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005793/0.4585, allocations: 338.4 kB / 0.8348 GB, free: 1.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.4589, allocations: 290.7 kB / 0.8351 GB, free: 1.133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.459, allocations: 16 kB / 0.8351 GB, free: 1.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009928/0.46, allocations: 431 kB / 0.8355 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4601, allocations: 115.6 kB / 0.8356 GB, free: 0.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.4603, allocations: 109.5 kB / 0.8358 GB, free: 480 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.461, allocations: 0.5339 MB / 0.8363 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.461, allocations: 3.984 kB / 0.8363 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.4611, allocations: 0 / 0.8363 GB, free: 15.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.74e-06/0.4611, allocations: 0 / 0.8363 GB, free: 15.93 MB / 394.7 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.001442/0.4625, allocations: 0.7802 MB / 0.837 GB, free: 15.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4626, allocations: 8.031 kB / 0.837 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.4628, allocations: 67.2 kB / 0.8371 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008098/0.4636, allocations: 420.9 kB / 0.8375 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4637, allocations: 24.56 kB / 0.8375 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.4637, allocations: 28 kB / 0.8376 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.4644, allocations: 290.2 kB / 0.8378 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4645, allocations: 7.875 kB / 0.8378 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.4645, allocations: 12 kB / 0.8379 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.4645, allocations: 4 kB / 0.8379 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.4652, allocations: 206 kB / 0.8381 GB, free: 14 MB / 394.7 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.002674/0.4678, allocations: 1.472 MB / 0.8395 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.4683, allocations: 162.8 kB / 0.8396 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.4686, allocations: 92.8 kB / 0.8397 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.4708, allocations: 1.288 MB / 0.841 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.4709, allocations: 42.56 kB / 0.841 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.87e-06/0.4709, allocations: 3.938 kB / 0.841 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008429/0.4717, allocations: 253.1 kB / 0.8413 GB, free: 10.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4718, allocations: 63.34 kB / 0.8413 GB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.4728, allocations: 0.573 MB / 0.8419 GB, free: 9.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.4728, allocations: 33.7 kB / 0.8419 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.4731, allocations: 268 kB / 0.8422 GB, free: 9.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.4732, allocations: 51.3 kB / 0.8422 GB, free: 9.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.4732, allocations: 4 kB / 0.8422 GB, free: 9.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.4735, allocations: 358.8 kB / 0.8426 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.4737, allocations: 80.52 kB / 0.8427 GB, free: 8.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.4742, allocations: 214.7 kB / 0.8429 GB, free: 8.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.4745, allocations: 107.8 kB / 0.843 GB, free: 8.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.4745, allocations: 0 / 0.843 GB, free: 8.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008789/0.4754, allocations: 323.6 kB / 0.8433 GB, free: 8.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.4755, allocations: 153.8 kB / 0.8434 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.129e-06/0.4756, allocations: 0 / 0.8434 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4756, allocations: 4 kB / 0.8434 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.476, allocations: 75.89 kB / 0.8435 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.476, allocations: 7.938 kB / 0.8435 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.4765, allocations: 51.52 kB / 0.8436 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.4766, allocations: 19.98 kB / 0.8436 GB, free: 7.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.4766, allocations: 6.656 kB / 0.8436 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006935/0.4773, allocations: 239.6 kB / 0.8438 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4773, allocations: 4 kB / 0.8438 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.173e-06/0.4773, allocations: 4 kB / 0.8438 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.4777, allocations: 68.16 kB / 0.8439 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4777, allocations: 7.984 kB / 0.8439 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.4781, allocations: 43.72 kB / 0.8439 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.992e-05/0.4782, allocations: 19.98 kB / 0.844 GB, free: 7.492 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.4786, allocations: 266.1 kB / 0.8442 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.4787, allocations: 47.34 kB / 0.8443 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/0.4795, allocations: 281.5 kB / 0.8445 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.4795, allocations: 0 / 0.8445 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-06/0.4795, allocations: 4 kB / 0.8445 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4795, allocations: 0 / 0.8445 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.481, allocations: 0.7434 MB / 0.8452 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.4811, allocations: 4 kB / 0.8453 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.4813, allocations: 27.98 kB / 0.8453 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.4813, allocations: 4 kB / 0.8453 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4813, allocations: 0 / 0.8453 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.4813, allocations: 11.92 kB / 0.8453 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.821e-06/0.4814, allocations: 0 / 0.8453 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.4821, allocations: 363.2 kB / 0.8456 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.4823, allocations: 156.4 kB / 0.8458 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.4824, allocations: 7.984 kB / 0.8458 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.4828, allocations: 15.98 kB / 0.8458 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.4828, allocations: 23.92 kB / 0.8458 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4829, allocations: 4 kB / 0.8458 GB, free: 5.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006795/0.4836, allocations: 410.8 kB / 0.8462 GB, free: 5.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.4836, allocations: 0 / 0.8462 GB, free: 5.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001027/0.4846, allocations: 231.7 kB / 0.8465 GB, free: 4.797 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001853/0.4865, allocations: 0.4889 MB / 0.8469 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.4882, allocations: 337 kB / 0.8473 GB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.4883, allocations: 0.875 kB / 0.8473 GB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.4888, allocations: 92.14 kB / 0.8473 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.4919, allocations: 246.4 kB / 0.8476 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.4949, allocations: 0.9763 MB / 0.8485 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/0.4959, allocations: 0.8584 MB / 0.8494 GB, free: 1.887 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001/0.4969, allocations: 96.67 kB / 0.8495 GB, free: 1.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4971, allocations: 39.42 kB / 0.8495 GB, free: 1.75 MB / 394.7 MB Notification: Performance of SimCode: time 2.075e-06/0.4971, allocations: 0 / 0.8495 GB, free: 1.75 MB / 394.7 MB Notification: Performance of Templates: time 0.0401/0.5373, allocations: 9.614 MB / 0.8589 GB, free: 8.254 MB / 410.7 MB