Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002599/0.002604, allocations: 358.2 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.457/1.457, allocations: 165.8 MB / 183.1 MB, free: 5.426 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.388/4.388, allocations: 410.8 MB / 0.6001 GB, free: 15.08 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.001805/0.001805, allocations: 198.2 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005863/0.0005866, allocations: 19.94 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4717, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03784/0.5096, allocations: 27.72 MB / 0.8358 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03102/0.5407, allocations: 10.8 MB / 0.8464 GB, free: 6.172 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.5433, allocations: 35.62 kB / 0.8464 GB, free: 6.137 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.5471, allocations: 0.5204 MB / 0.8469 GB, free: 5.613 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009037/0.5562, allocations: 1.366 MB / 0.8482 GB, free: 4.242 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01683/0.5731, allocations: 2.92 MB / 0.8511 GB, free: 1.367 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009767/0.5829, allocations: 3.516 MB / 0.8545 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003934/0.5869, allocations: 1.07 MB / 0.8556 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005613/0.5926, allocations: 1.253 MB / 0.8568 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007249/0.5999, allocations: 1.546 MB / 0.8583 GB, free: 9.949 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.6011, allocations: 64 kB / 0.8584 GB, free: 9.887 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004947/0.6061, allocations: 0.8654 MB / 0.8592 GB, free: 9.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.6076, allocations: 330.8 kB / 0.8595 GB, free: 8.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.6088, allocations: 245.1 kB / 0.8598 GB, free: 8.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004678/0.6135, allocations: 1.528 MB / 0.8613 GB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6135, allocations: 0 / 0.8613 GB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.6136, allocations: 0 / 0.8613 GB, free: 6.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.189e-05/0.6136, allocations: 4 kB / 0.8613 GB, free: 6.914 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.004659/0.6183, allocations: 1.321 MB / 0.8625 GB, free: 5.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.6184, allocations: 8.031 kB / 0.8626 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009786/0.6194, allocations: 146.6 kB / 0.8627 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003965/0.6234, allocations: 0.8641 MB / 0.8635 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.6236, allocations: 81.31 kB / 0.8636 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006335/0.6243, allocations: 120 kB / 0.8637 GB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.6269, allocations: 0.6356 MB / 0.8644 GB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.6269, allocations: 7.984 kB / 0.8644 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.6271, allocations: 24 kB / 0.8644 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.6272, allocations: 12 kB / 0.8644 GB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.6297, allocations: 472.9 kB / 0.8648 GB, free: 3.117 MB / 410.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.01112/0.6408, allocations: 2.879 MB / 0.8677 GB, free: 92 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.6424, allocations: 305.6 kB / 0.8679 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.6432, allocations: 149.3 kB / 0.8681 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005535/0.6438, allocations: 352.6 kB / 0.8684 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.6438, allocations: 38.84 kB / 0.8685 GB, free: 15.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 5.06e-06/0.6439, allocations: 0 / 0.8685 GB, free: 15.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.003307/0.6472, allocations: 0.54 MB / 0.869 GB, free: 14.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.6473, allocations: 55.41 kB / 0.869 GB, free: 14.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.6498, allocations: 0.8868 MB / 0.8699 GB, free: 13.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004978/0.6504, allocations: 53.7 kB / 0.87 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.6515, allocations: 0.5298 MB / 0.8705 GB, free: 13.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.6518, allocations: 118.4 kB / 0.8706 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.6519, allocations: 12 kB / 0.8706 GB, free: 12.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6521, allocations: 330 kB / 0.8709 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009902/0.6531, allocations: 177.2 kB / 0.8711 GB, free: 12.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.6562, allocations: 1.143 MB / 0.8722 GB, free: 10.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6576, allocations: 302.8 kB / 0.8725 GB, free: 10.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.6576, allocations: 3.953 kB / 0.8725 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003395/0.661, allocations: 0.6461 MB / 0.8731 GB, free: 9.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.6613, allocations: 148.3 kB / 0.8733 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.6613, allocations: 7.938 kB / 0.8733 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/0.6613, allocations: 8 kB / 0.8733 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003744/0.6651, allocations: 239.6 kB / 0.8735 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.6685, allocations: 2.969 MB / 0.8764 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008384/0.6769, allocations: 0.7417 MB / 0.8771 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.6772, allocations: 27.98 kB / 0.8772 GB, free: 5.684 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6773, allocations: 8 kB / 0.8772 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003917/0.6812, allocations: 0.4933 MB / 0.8777 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6812, allocations: 4.188 kB / 0.8777 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6813, allocations: 8 kB / 0.8777 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.683, allocations: 159.8 kB / 0.8778 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.683, allocations: 4 kB / 0.8778 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01459/0.6976, allocations: 0.7417 MB / 0.8785 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.6979, allocations: 23.98 kB / 0.8786 GB, free: 4.238 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005911/0.7039, allocations: 330 kB / 0.8789 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.7043, allocations: 94.78 kB / 0.879 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.7068, allocations: 0.5278 MB / 0.8795 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.7069, allocations: 0 / 0.8795 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7069, allocations: 0 / 0.8795 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005007/0.7119, allocations: 227.7 kB / 0.8797 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.7122, allocations: 7.984 kB / 0.8797 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.7135, allocations: 63.78 kB / 0.8798 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.7137, allocations: 24.3 kB / 0.8798 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006772/0.7205, allocations: 0.5682 MB / 0.8804 GB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003055/0.7236, allocations: 0.8302 MB / 0.8812 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007443/0.7244, allocations: 180.3 kB / 0.8813 GB, free: 1.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001595/0.726, allocations: 0.5845 MB / 0.8819 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of Backend: time 7.42e-07/0.726, allocations: 0 / 0.8819 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01964/0.7457, allocations: 1.029 MB / 0.8829 GB, free: 15.71 MB / 442.7 MB Notification: Performance of SimCode: time 0.009463/0.7552, allocations: 2.478 MB / 0.8853 GB, free: 13.18 MB / 442.7 MB Notification: Performance of Templates: time 0.09559/0.8508, allocations: 24.99 MB / 0.9097 GB, free: 4.551 MB / 458.7 MB