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.002486/0.002492, allocations: 357.8 kB / 15.94 MB, free: 6.207 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.359/1.359, allocations: 165.8 MB / 182.5 MB, free: 5.469 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.606/3.606, allocations: 410.8 MB / 0.5995 GB, free: 15.13 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.001726/0.001725, allocations: 184.4 kB / 0.6662 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 12 kB / 0.7423 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3242, allocations: 67.45 MB / 0.8081 GB, free: 28.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.07898/0.4032, allocations: 66.76 MB / 0.8733 GB, free: 9.812 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03493/0.4382, allocations: 18.66 MB / 0.8916 GB, free: 7.117 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.4413, allocations: 83.38 kB / 0.8916 GB, free: 7.035 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.4451, allocations: 0.9978 MB / 0.8926 GB, free: 6.031 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.4556, allocations: 2.833 MB / 0.8954 GB, free: 3.188 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.4684, allocations: 3.613 MB / 0.8989 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0128/0.4812, allocations: 9.048 MB / 0.9077 GB, free: 6.539 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008944/0.4902, allocations: 5.072 MB / 0.9127 GB, free: 1.434 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006177/0.4964, allocations: 2.578 MB / 0.9152 GB, free: 14.84 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004693/0.5011, allocations: 2.306 MB / 0.9175 GB, free: 12.52 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005651/0.5017, allocations: 132 kB / 0.9176 GB, free: 12.39 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.5052, allocations: 1.006 MB / 0.9186 GB, free: 11.39 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.5063, allocations: 0.6066 MB / 0.9192 GB, free: 10.78 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.5078, allocations: 0.6483 MB / 0.9198 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00606/0.5139, allocations: 3.472 MB / 0.9232 GB, free: 6.645 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.357e-06/0.5139, allocations: 7.938 kB / 0.9232 GB, free: 6.637 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.774e-06/0.514, allocations: 0 / 0.9232 GB, free: 6.637 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.884e-05/0.514, allocations: 0 / 0.9232 GB, free: 6.637 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.009414/0.5235, allocations: 3.858 MB / 0.927 GB, free: 2.699 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5235, allocations: 12.03 kB / 0.927 GB, free: 2.688 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.5265, allocations: 0.5657 MB / 0.9275 GB, free: 2.117 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3109/0.8374, allocations: 2.458 MB / 0.9299 GB, free: 114.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.8376, allocations: 141.4 kB / 0.9301 GB, free: 114.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/0.838, allocations: 185.8 kB / 0.9302 GB, free: 114.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005551/0.8436, allocations: 2.411 MB / 0.9326 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/0.8437, allocations: 6.344 kB / 0.9326 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.8439, allocations: 65.77 kB / 0.9327 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.844, allocations: 40.41 kB / 0.9327 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005649/0.8496, allocations: 2.022 MB / 0.9347 GB, free: 112.6 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.0188/0.8685, allocations: 12.15 MB / 0.9465 GB, free: 103.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/0.8725, allocations: 1.568 MB / 0.9481 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/0.8749, allocations: 1.087 MB / 0.9491 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008569/0.8835, allocations: 4.092 MB / 0.9531 GB, free: 99.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/0.8855, allocations: 0.8819 MB / 0.954 GB, free: 98.61 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001904/0.8875, allocations: 447.5 kB / 0.9544 GB, free: 98.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 5.211e-06/0.8875, allocations: 0 / 0.9544 GB, free: 98.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01923/0.9067, allocations: 5.198 MB / 0.9595 GB, free: 92.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.9068, allocations: 64.41 kB / 0.9596 GB, free: 92.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004611/0.9114, allocations: 2.997 MB / 0.9625 GB, free: 89.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.9117, allocations: 53.7 kB / 0.9625 GB, free: 89.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.913, allocations: 1.429 MB / 0.9639 GB, free: 88.42 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.9133, allocations: 345.2 kB / 0.9643 GB, free: 88.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.9134, allocations: 29.64 kB / 0.9643 GB, free: 88.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.9136, allocations: 361.9 kB / 0.9646 GB, free: 87.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.9153, allocations: 0.6909 MB / 0.9653 GB, free: 87.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.9174, allocations: 1.49 MB / 0.9668 GB, free: 85.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.9193, allocations: 0.9105 MB / 0.9677 GB, free: 84.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.9193, allocations: 4 kB / 0.9677 GB, free: 84.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.008262/0.9276, allocations: 2.943 MB / 0.9705 GB, free: 81.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.9279, allocations: 0.5376 MB / 0.9711 GB, free: 80.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.9279, allocations: 12 kB / 0.9711 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/0.9316, allocations: 0.7918 MB / 0.9718 GB, free: 79.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.9332, allocations: 297.4 kB / 0.9721 GB, free: 79.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.9357, allocations: 2.171 MB / 0.9742 GB, free: 77.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/0.939, allocations: 244.7 kB / 0.9745 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.9393, allocations: 79.97 kB / 0.9746 GB, free: 76.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.9393, allocations: 4 kB / 0.9746 GB, free: 76.92 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005046/0.9444, allocations: 2.299 MB / 0.9768 GB, free: 74.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.9444, allocations: 16.25 kB / 0.9768 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.9463, allocations: 0.5838 MB / 0.9774 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.9478, allocations: 285.4 kB / 0.9777 GB, free: 73.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008844/0.9567, allocations: 6.506 MB / 0.984 GB, free: 66.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.9597, allocations: 244.8 kB / 0.9842 GB, free: 66.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.96, allocations: 63.98 kB / 0.9843 GB, free: 66.65 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.00164/0.9616, allocations: 0.8288 MB / 0.9851 GB, free: 65.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/0.9622, allocations: 300.2 kB / 0.9854 GB, free: 65.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/0.9679, allocations: 2.474 MB / 0.9878 GB, free: 63.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.968, allocations: 15.98 kB / 0.9878 GB, free: 63.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.968, allocations: 0 / 0.9878 GB, free: 63.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004583/0.9726, allocations: 2.189 MB / 0.99 GB, free: 60.76 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 postOpt removeSimpleEquations (simulation): time 0.00974/0.9823, allocations: 4.71 MB / 0.9946 GB, free: 56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.301e-06/0.9824, allocations: 64 / 0.9946 GB, free: 56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/0.9834, allocations: 154.9 kB / 0.9947 GB, free: 55.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.985, allocations: 0.5452 MB / 0.9953 GB, free: 55.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.9851, allocations: 27.98 kB / 0.9953 GB, free: 55.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.9872, allocations: 2.085 MB / 0.9973 GB, free: 53.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.268e-06/0.9873, allocations: 0 / 0.9973 GB, free: 53.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006887/0.9942, allocations: 3.349 MB / 1.001 GB, free: 49.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.9957, allocations: 0.5441 MB / 1.001 GB, free: 49.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/0.9961, allocations: 20 kB / 1.001 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/0.9984, allocations: 211.5 kB / 1.001 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.9986, allocations: 64.84 kB / 1.001 GB, free: 48.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.9987, allocations: 39.97 kB / 1.001 GB, free: 48.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003137/1.002, allocations: 2.052 MB / 1.003 GB, free: 46.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.16e-07/1.002, allocations: 0 / 1.003 GB, free: 46.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005222/1.007, allocations: 1.477 MB / 1.005 GB, free: 45.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/1.008, allocations: 431.2 kB / 1.005 GB, free: 45.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006945/1.015, allocations: 3.262 MB / 1.008 GB, free: 41.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.015, allocations: 0 / 1.008 GB, free: 41.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.017, allocations: 0.819 MB / 1.009 GB, free: 40.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008796/1.026, allocations: 1.559 MB / 1.011 GB, free: 39.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.036, allocations: 5.935 MB / 1.017 GB, free: 33.36 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.038, allocations: 2.091 MB / 1.019 GB, free: 31.24 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003604/1.042, allocations: 0.6718 MB / 1.019 GB, free: 30.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007261/1.043, allocations: 215.3 kB / 1.02 GB, free: 30.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.689e-06/1.043, allocations: 0 / 1.02 GB, free: 30.36 MB / 474.7 MB Notification: Performance of Templates: time 0.1226/1.165, allocations: 57.36 MB / 1.076 GB, free: 5.574 MB / 0.4948 GB