Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003403/0.003403, allocations: 357.8 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.386/1.386, allocations: 165.8 MB / 183.1 MB, free: 5.449 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.583/3.583, allocations: 410.8 MB / 0.6001 GB, free: 15.15 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.00178/0.001779, allocations: 193.5 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004687, allocations: 12 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3975, allocations: 67.45 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.08887/0.4864, allocations: 66.76 MB / 0.8739 GB, free: 9.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04001/0.5265, allocations: 18.66 MB / 0.8922 GB, free: 7.145 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.5299, allocations: 83.38 kB / 0.8922 GB, free: 7.062 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.5349, allocations: 0.9939 MB / 0.8932 GB, free: 6.062 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.5464, allocations: 2.83 MB / 0.896 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.5613, allocations: 3.623 MB / 0.8995 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01448/0.5758, allocations: 9.035 MB / 0.9083 GB, free: 6.574 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.5867, allocations: 5.068 MB / 0.9133 GB, free: 1.473 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007308/0.5941, allocations: 2.586 MB / 0.9158 GB, free: 14.87 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/0.5999, allocations: 2.295 MB / 0.9181 GB, free: 12.57 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000792/0.6008, allocations: 132 kB / 0.9182 GB, free: 12.44 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.6051, allocations: 1.01 MB / 0.9192 GB, free: 11.43 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.6064, allocations: 0.6105 MB / 0.9198 GB, free: 10.82 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.608, allocations: 0.6444 MB / 0.9204 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006784/0.6148, allocations: 3.476 MB / 0.9238 GB, free: 6.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6149, allocations: 7.938 kB / 0.9238 GB, free: 6.672 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6149, allocations: 0 / 0.9238 GB, free: 6.672 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001154/0.615, allocations: 0 / 0.9238 GB, free: 6.672 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01227/0.6273, allocations: 3.866 MB / 0.9276 GB, free: 2.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6274, allocations: 8.031 kB / 0.9276 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/0.6315, allocations: 0.5657 MB / 0.9281 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3743/1.006, allocations: 2.453 MB / 0.9305 GB, free: 114.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/1.006, allocations: 140.2 kB / 0.9307 GB, free: 114.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006042/1.007, allocations: 185.6 kB / 0.9308 GB, free: 114.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007464/1.014, allocations: 2.413 MB / 0.9332 GB, free: 113.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.442e-05/1.014, allocations: 7.562 kB / 0.9332 GB, free: 113.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/1.015, allocations: 64.53 kB / 0.9333 GB, free: 113.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/1.015, allocations: 40.88 kB / 0.9333 GB, free: 113.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007771/1.023, allocations: 2.019 MB / 0.9353 GB, free: 113.1 MB / 474.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.02409/1.047, allocations: 12.16 MB / 0.9471 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/1.052, allocations: 1.554 MB / 0.9487 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/1.054, allocations: 1.091 MB / 0.9497 GB, free: 102.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/1.065, allocations: 4.084 MB / 0.9537 GB, free: 99.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002511/1.067, allocations: 0.8797 MB / 0.9546 GB, free: 98.91 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002675/1.07, allocations: 449.7 kB / 0.955 GB, free: 98.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 5.801e-06/1.07, allocations: 8 kB / 0.955 GB, free: 98.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.03338/1.103, allocations: 5.195 MB / 0.9601 GB, free: 93.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.103, allocations: 60.41 kB / 0.9601 GB, free: 93.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009141/1.113, allocations: 3.006 MB / 0.9631 GB, free: 90.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004623/1.113, allocations: 61.64 kB / 0.9631 GB, free: 90.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002362/1.115, allocations: 1.419 MB / 0.9645 GB, free: 88.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/1.116, allocations: 341.8 kB / 0.9648 GB, free: 88.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/1.116, allocations: 31.94 kB / 0.9649 GB, free: 88.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/1.117, allocations: 361.9 kB / 0.9652 GB, free: 88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/1.12, allocations: 0.6909 MB / 0.9659 GB, free: 87.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/1.125, allocations: 1.486 MB / 0.9673 GB, free: 85.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/1.129, allocations: 0.9218 MB / 0.9682 GB, free: 84.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/1.129, allocations: 4 kB / 0.9682 GB, free: 84.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01709/1.147, allocations: 2.947 MB / 0.9711 GB, free: 81.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004252/1.147, allocations: 0.53 MB / 0.9716 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/1.147, allocations: 16 kB / 0.9717 GB, free: 80.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0078/1.155, allocations: 0.7885 MB / 0.9724 GB, free: 80.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/1.159, allocations: 301.4 kB / 0.9727 GB, free: 79.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/1.163, allocations: 2.168 MB / 0.9748 GB, free: 77.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007351/1.171, allocations: 252.7 kB / 0.9751 GB, free: 77.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005835/1.172, allocations: 75.97 kB / 0.9751 GB, free: 77.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.172, allocations: 4 kB / 0.9752 GB, free: 77.22 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01109/1.183, allocations: 2.306 MB / 0.9774 GB, free: 74.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.725e-05/1.183, allocations: 12 kB / 0.9774 GB, free: 74.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004024/1.187, allocations: 0.5841 MB / 0.978 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/1.19, allocations: 281.4 kB / 0.9783 GB, free: 74.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/1.208, allocations: 6.505 MB / 0.9846 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.214, allocations: 236.7 kB / 0.9848 GB, free: 67.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/1.215, allocations: 71.98 kB / 0.9849 GB, free: 66.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002826/1.218, allocations: 0.821 MB / 0.9857 GB, free: 66.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.219, allocations: 296.2 kB / 0.986 GB, free: 65.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.23, allocations: 2.481 MB / 0.9884 GB, free: 63.33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01012/1.24, allocations: 2.188 MB / 0.9905 GB, free: 61.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.241, allocations: 4 kB / 0.9905 GB, free: 61.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/1.243, allocations: 0.544 MB / 0.9911 GB, free: 60.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.244, allocations: 23.94 kB / 0.9911 GB, free: 60.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004067/1.248, allocations: 199.5 kB / 0.9913 GB, free: 60.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/1.249, allocations: 112.7 kB / 0.9914 GB, free: 60.18 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008546/1.257, allocations: 2.254 MB / 0.9936 GB, free: 57.94 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008055/1.265, allocations: 2.651 MB / 0.9962 GB, free: 55.26 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002256/1.268, allocations: 0.7025 MB / 0.9969 GB, free: 54.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00418/1.272, allocations: 2.044 MB / 0.9989 GB, free: 52.52 MB / 474.7 MB Notification: Performance of Backend: time 9.62e-07/1.272, allocations: 0 / 0.9989 GB, free: 52.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009765/1.282, allocations: 3.092 MB / 1.002 GB, free: 49.46 MB / 474.7 MB Notification: Performance of SimCode: time 0.01716/1.299, allocations: 7.436 MB / 1.009 GB, free: 41.99 MB / 474.7 MB Notification: Performance of Templates: time 0.136/1.435, allocations: 56.71 MB / 1.065 GB, free: 1.84 MB / 490.7 MB