Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002816/0.002822, allocations: 357 kB / 16.59 MB, free: 5.566 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.449/1.449, allocations: 165.8 MB / 183.1 MB, free: 5.48 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 3.76/3.76, allocations: 410.8 MB / 0.6001 GB, free: 15.18 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.001695/0.001695, allocations: 192.5 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 15.98 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3993, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.03741/0.4367, allocations: 30.11 MB / 0.8381 GB, free: 14.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02641/0.4632, allocations: 12.13 MB / 0.85 GB, free: 2.441 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.4651, allocations: 39.75 kB / 0.85 GB, free: 2.402 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.468, allocations: 0.5513 MB / 0.8506 GB, free: 1.848 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006449/0.4745, allocations: 1.536 MB / 0.8521 GB, free: 312 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.4845, allocations: 2.351 MB / 0.8544 GB, free: 13.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009439/0.494, allocations: 5.484 MB / 0.8597 GB, free: 8.473 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003584/0.4976, allocations: 1.576 MB / 0.8612 GB, free: 6.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/0.5022, allocations: 1.493 MB / 0.8627 GB, free: 5.375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.5056, allocations: 1.303 MB / 0.864 GB, free: 4.066 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003888/0.5061, allocations: 68 kB / 0.864 GB, free: 4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.509, allocations: 0.7176 MB / 0.8647 GB, free: 3.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006859/0.5097, allocations: 378.3 kB / 0.8651 GB, free: 2.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007976/0.5105, allocations: 400.7 kB / 0.8655 GB, free: 2.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00395/0.5144, allocations: 2.128 MB / 0.8676 GB, free: 388 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5145, allocations: 0 / 0.8676 GB, free: 388 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5145, allocations: 0 / 0.8676 GB, free: 388 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.5145, allocations: 0 / 0.8676 GB, free: 388 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00552/0.5201, allocations: 2.086 MB / 0.8696 GB, free: 14.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.5201, allocations: 8.031 kB / 0.8696 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.5221, allocations: 305.3 kB / 0.8699 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004475/0.5266, allocations: 1.579 MB / 0.8714 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.5267, allocations: 81.95 kB / 0.8715 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.527, allocations: 104 kB / 0.8716 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/0.5306, allocations: 1.33 MB / 0.8729 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.5307, allocations: 11.94 kB / 0.8729 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.5308, allocations: 36 kB / 0.873 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.5309, allocations: 24 kB / 0.873 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.5345, allocations: 1.054 MB / 0.874 GB, free: 9.582 MB / 426.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.01248/0.547, allocations: 6.995 MB / 0.8808 GB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.5496, allocations: 0.669 MB / 0.8815 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.551, allocations: 426.5 kB / 0.8819 GB, free: 1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00452/0.5555, allocations: 1.839 MB / 0.8837 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001419/0.557, allocations: 408.7 kB / 0.8841 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008587/0.5579, allocations: 111.3 kB / 0.8842 GB, free: 14.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.517e-06/0.5579, allocations: 0 / 0.8842 GB, free: 14.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.007284/0.5652, allocations: 1.532 MB / 0.8857 GB, free: 12.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.5653, allocations: 63.39 kB / 0.8858 GB, free: 12.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.5689, allocations: 1.839 MB / 0.8876 GB, free: 10.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.5691, allocations: 41.7 kB / 0.8876 GB, free: 10.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.5702, allocations: 0.8464 MB / 0.8884 GB, free: 10.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.5704, allocations: 169.7 kB / 0.8886 GB, free: 9.914 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.5705, allocations: 16 kB / 0.8886 GB, free: 9.898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5707, allocations: 334 kB / 0.8889 GB, free: 9.566 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.5719, allocations: 321.8 kB / 0.8892 GB, free: 9.254 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.5736, allocations: 0.78 MB / 0.89 GB, free: 8.266 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.5751, allocations: 450.3 kB / 0.8904 GB, free: 7.824 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.5752, allocations: 4 kB / 0.8904 GB, free: 7.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004982/0.5801, allocations: 1.359 MB / 0.8917 GB, free: 6.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.5805, allocations: 423.3 kB / 0.8921 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.5806, allocations: 15.94 kB / 0.8922 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.582, allocations: 216.6 kB / 0.8924 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.5833, allocations: 175.7 kB / 0.8925 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.5846, allocations: 0.8515 MB / 0.8934 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.5869, allocations: 120.5 kB / 0.8935 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.5871, allocations: 43.98 kB / 0.8935 GB, free: 4.438 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5871, allocations: 4 kB / 0.8935 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003084/0.5902, allocations: 1.028 MB / 0.8945 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.5903, allocations: 20.12 kB / 0.8946 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006728/0.5909, allocations: 156.7 kB / 0.8947 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.592, allocations: 163.7 kB / 0.8949 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004031/0.5961, allocations: 2.36 MB / 0.8972 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.5983, allocations: 108.5 kB / 0.8973 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.5984, allocations: 44 kB / 0.8973 GB, free: 420 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001287/0.5997, allocations: 0.5825 MB / 0.8979 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.6001, allocations: 177.8 kB / 0.898 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.6038, allocations: 1.074 MB / 0.8991 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002901/0.6067, allocations: 1.023 MB / 0.9001 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6068, allocations: 4 kB / 0.9001 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.6078, allocations: 346.6 kB / 0.9004 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.6081, allocations: 4 kB / 0.9004 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6098, allocations: 99.83 kB / 0.9005 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.6099, allocations: 44.36 kB / 0.9006 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003931/0.6139, allocations: 0.9708 MB / 0.9015 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004193/0.6181, allocations: 1.352 MB / 0.9028 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001168/0.6193, allocations: 343.3 kB / 0.9032 GB, free: 10.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00276/0.6221, allocations: 1.27 MB / 0.9044 GB, free: 8.973 MB / 458.7 MB Notification: Performance of Backend: time 8.01e-07/0.6221, allocations: 0 / 0.9044 GB, free: 8.973 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005825/0.6279, allocations: 1.631 MB / 0.906 GB, free: 7.312 MB / 458.7 MB Notification: Performance of SimCode: time 0.01147/0.6394, allocations: 4.499 MB / 0.9104 GB, free: 2.754 MB / 458.7 MB Notification: Performance of Templates: time 0.4423/1.082, allocations: 32.99 MB / 0.9426 GB, free: 104.2 MB / 474.7 MB