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.002636/0.002636, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.765/1.765, allocations: 165.8 MB / 183.1 MB, free: 5.473 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.168/4.168, allocations: 410.8 MB / 0.6001 GB, free: 15.22 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.001721/0.00172, allocations: 185.5 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.000482, allocations: 19.98 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4393, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02363/0.463, allocations: 16.08 MB / 0.8244 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.4759, allocations: 6.963 MB / 0.8312 GB, free: 5.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007074/0.4767, allocations: 15.88 kB / 0.8313 GB, free: 5.664 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.478, allocations: 246.6 kB / 0.8315 GB, free: 5.422 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.4803, allocations: 0.585 MB / 0.8321 GB, free: 4.836 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007101/0.4874, allocations: 1.762 MB / 0.8338 GB, free: 3.094 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.4893, allocations: 1.083 MB / 0.8348 GB, free: 2.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.4899, allocations: 270.5 kB / 0.8351 GB, free: 1.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.4906, allocations: 334.4 kB / 0.8354 GB, free: 1.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.4912, allocations: 294.7 kB / 0.8357 GB, free: 1.129 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.4913, allocations: 12 kB / 0.8357 GB, free: 1.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.4925, allocations: 431 kB / 0.8361 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.4927, allocations: 115.6 kB / 0.8362 GB, free: 0.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.4929, allocations: 113.5 kB / 0.8363 GB, free: 476 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009775/0.4938, allocations: 0.5417 MB / 0.8369 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4939, allocations: 0 / 0.8369 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4939, allocations: 0 / 0.8369 GB, free: 15.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.4939, allocations: 0 / 0.8369 GB, free: 15.92 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.001655/0.4956, allocations: 0.7746 MB / 0.8376 GB, free: 15.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4956, allocations: 8.031 kB / 0.8376 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.4959, allocations: 63.2 kB / 0.8377 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008938/0.4968, allocations: 428.9 kB / 0.8381 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.4968, allocations: 20.56 kB / 0.8381 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.4969, allocations: 28 kB / 0.8382 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008159/0.4977, allocations: 294.2 kB / 0.8384 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4978, allocations: 0 / 0.8384 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4978, allocations: 15.94 kB / 0.8384 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.4978, allocations: 4 kB / 0.8385 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.4986, allocations: 206 kB / 0.8386 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.002879/0.5015, allocations: 1.468 MB / 0.8401 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.502, allocations: 170.8 kB / 0.8402 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.5024, allocations: 84.81 kB / 0.8403 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/0.5049, allocations: 1.291 MB / 0.8416 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5049, allocations: 34.56 kB / 0.8416 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 4.899e-06/0.5049, allocations: 3.984 kB / 0.8416 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001085/0.506, allocations: 265.1 kB / 0.8419 GB, free: 10.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.5061, allocations: 63.34 kB / 0.8419 GB, free: 10.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5072, allocations: 0.5692 MB / 0.8425 GB, free: 9.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.5072, allocations: 29.7 kB / 0.8425 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.5075, allocations: 272 kB / 0.8428 GB, free: 9.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.5076, allocations: 59.27 kB / 0.8428 GB, free: 9.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.5076, allocations: 4 kB / 0.8428 GB, free: 9.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5078, allocations: 354.8 kB / 0.8432 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.5081, allocations: 80.5 kB / 0.8433 GB, free: 8.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.5086, allocations: 214.7 kB / 0.8435 GB, free: 8.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.509, allocations: 115.1 kB / 0.8436 GB, free: 8.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5091, allocations: 0 / 0.8436 GB, free: 8.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001102/0.5102, allocations: 316.8 kB / 0.8439 GB, free: 8.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.5103, allocations: 161.7 kB / 0.844 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.5103, allocations: 0 / 0.844 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.5104, allocations: 4 kB / 0.844 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.5109, allocations: 67.91 kB / 0.8441 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5109, allocations: 7.938 kB / 0.8441 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.5115, allocations: 55.56 kB / 0.8442 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.5116, allocations: 15.94 kB / 0.8442 GB, free: 7.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5116, allocations: 4 kB / 0.8442 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008375/0.5125, allocations: 244.7 kB / 0.8444 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5125, allocations: 11.94 kB / 0.8444 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.5125, allocations: 4 kB / 0.8444 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.513, allocations: 68.16 kB / 0.8445 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.513, allocations: 4 kB / 0.8445 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.5136, allocations: 47.7 kB / 0.8445 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.5137, allocations: 12 kB / 0.8445 GB, free: 7.48 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.0003572/0.514, allocations: 266.1 kB / 0.8448 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5142, allocations: 51.34 kB / 0.8449 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009377/0.5151, allocations: 273.5 kB / 0.8451 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5151, allocations: 0 / 0.8451 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5151, allocations: 0 / 0.8451 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.5154, allocations: 148.5 kB / 0.8453 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.5155, allocations: 11.92 kB / 0.8453 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.5159, allocations: 15.98 kB / 0.8453 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.5159, allocations: 11.98 kB / 0.8453 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007895/0.5167, allocations: 293.9 kB / 0.8456 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000827/0.5176, allocations: 415.4 kB / 0.846 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002973/0.5179, allocations: 83.86 kB / 0.846 GB, free: 5.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007833/0.5187, allocations: 418.8 kB / 0.8464 GB, free: 5.477 MB / 394.7 MB Notification: Performance of Backend: time 4.71e-07/0.5187, allocations: 0 / 0.8464 GB, free: 5.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003273/0.522, allocations: 0.8075 MB / 0.8472 GB, free: 4.836 MB / 394.7 MB Notification: Performance of SimCode: time 0.003928/0.526, allocations: 1.547 MB / 0.8487 GB, free: 3.242 MB / 394.7 MB Notification: Performance of Templates: time 0.03235/0.5584, allocations: 10.7 MB / 0.8592 GB, free: 8.66 MB / 410.7 MB