Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.608/4.608, allocations: 0.5623 GB / 0.5775 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002592/0.002592, allocations: 357.4 kB / 0.6446 GB, free: 21.53 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.147/4.147, allocations: 410.7 MB / 1.113 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00187/0.00187, allocations: 178.9 kB / 1.226 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004757, allocations: 17.98 kB / 1.349 GB, free: 320 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2001, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.109/0.3091, allocations: 95.94 MB / 1.555 GB, free: 124.8 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.9078/1.217, allocations: 167.8 MB / 1.719 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006624/1.224, allocations: 138.4 kB / 1.719 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.007749/1.231, allocations: 1.569 MB / 1.721 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0196/1.251, allocations: 4.858 MB / 1.725 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01876/1.27, allocations: 4.713 MB / 1.73 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.04072/1.311, allocations: 29.93 MB / 1.759 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03242/1.343, allocations: 9.765 MB / 1.769 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01763/1.361, allocations: 6.947 MB / 1.775 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02086/1.382, allocations: 7.261 MB / 1.783 GB, free: 0 / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.004083/1.386, allocations: 437.5 kB / 1.783 GB, free: 15.99 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/1.4, allocations: 2.572 MB / 1.785 GB, free: 15.38 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005949/1.406, allocations: 2.107 MB / 1.788 GB, free: 14.45 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.006283/1.412, allocations: 2.255 MB / 1.79 GB, free: 14.06 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.02754/1.44, allocations: 15.52 MB / 1.805 GB, free: 5.648 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.44, allocations: 0 / 1.805 GB, free: 5.648 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.397e-06/1.44, allocations: 4 kB / 1.805 GB, free: 5.645 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006828/1.44, allocations: 0 / 1.805 GB, free: 5.645 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2102 * Number of variables: 2102 Notification: Performance of Generate backend data structure: time 0.04843/1.489, allocations: 10.27 MB / 1.815 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/1.489, allocations: 9.391 kB / 1.815 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0287/1.518, allocations: 2.264 MB / 1.817 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03648/1.554, allocations: 10.11 MB / 1.827 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001456/1.556, allocations: 0.6784 MB / 1.828 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003781/1.559, allocations: 0.8257 MB / 1.828 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04353/1.603, allocations: 11.99 MB / 1.84 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004743/1.603, allocations: 23.78 kB / 1.84 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003149/1.607, allocations: 350 kB / 1.841 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005775/1.607, allocations: 344.7 kB / 1.841 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04234/1.65, allocations: 11.06 MB / 1.852 GB, free: 6.297 MB / 0.8542 GB 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.1151/1.765, allocations: 47.01 MB / 1.898 GB, free: 8 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02611/1.791, allocations: 7.904 MB / 1.905 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01439/1.805, allocations: 4.161 MB / 1.909 GB, free: 5.84 MB / 0.9011 GB 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 evalFunc (simulation): time 0.05996/1.865, allocations: 18.24 MB / 1.927 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01423/1.88, allocations: 3.718 MB / 1.931 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006813/1.887, allocations: 0.6968 MB / 1.931 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=508): time 1.758e-05/1.887, allocations: 0 / 1.931 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=508): time 0.03949/1.926, allocations: 9.484 MB / 1.941 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002348/1.926, allocations: 346.7 kB / 1.941 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01907/1.945, allocations: 7.283 MB / 1.948 GB, free: 13.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001651/1.947, allocations: 133.7 kB / 1.948 GB, free: 13.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006881/1.954, allocations: 4.402 MB / 1.953 GB, free: 8.855 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003473/1.958, allocations: 1.753 MB / 1.954 GB, free: 7.117 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008666/1.958, allocations: 132 kB / 1.954 GB, free: 6.988 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006141/1.959, allocations: 0.5669 MB / 1.955 GB, free: 6.414 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01304/1.972, allocations: 3.421 MB / 1.958 GB, free: 2.988 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/1.988, allocations: 5.144 MB / 1.963 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/2.003, allocations: 4.274 MB / 1.968 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.635e-05/2.003, allocations: 16 kB / 1.968 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=835) (initialization): time 0.03624/2.039, allocations: 9.614 MB / 1.977 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0014/2.041, allocations: 1.502 MB / 1.978 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/2.041, allocations: 48 kB / 1.978 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/2.041, allocations: 88 kB / 1.979 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01491/2.056, allocations: 1.648 MB / 1.98 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002077/2.056, allocations: 111.6 kB / 1.98 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0141/2.07, allocations: 0.6862 MB / 1.981 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001907/2.072, allocations: 315.9 kB / 1.981 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/2.072, allocations: 4 kB / 1.981 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03228/2.105, allocations: 8.868 MB / 1.99 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/2.105, allocations: 48 kB / 1.99 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/2.105, allocations: 84 kB / 1.99 GB, free: 1.012 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.12, allocations: 1.635 MB / 1.992 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002109/2.12, allocations: 111.6 kB / 1.992 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/2.133, allocations: 0.6592 MB / 1.992 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/2.135, allocations: 323.8 kB / 1.993 GB, free: 14.29 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (832): * Single equations (assignments): 829 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.01015/2.145, allocations: 3.247 MB / 1.996 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002978/2.148, allocations: 0.7678 MB / 1.997 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03244/2.181, allocations: 8.009 MB / 2.004 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02417/2.205, allocations: 6.361 MB / 2.011 GB, free: 11.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/2.205, allocations: 0 / 2.011 GB, free: 11.67 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007419/2.212, allocations: 1.822 MB / 2.012 GB, free: 9.816 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002932/2.215, allocations: 112 kB / 2.013 GB, free: 9.707 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01276/2.228, allocations: 0.5998 MB / 2.013 GB, free: 9.109 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/2.23, allocations: 307.8 kB / 2.013 GB, free: 8.805 MB / 1.01 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03575/2.265, allocations: 7.585 MB / 2.021 GB, free: 1.211 MB / 1.01 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04354/2.309, allocations: 12.04 MB / 2.033 GB, free: 5.012 MB / 1.026 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01149/2.32, allocations: 3.453 MB / 2.036 GB, free: 1.527 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01254/2.333, allocations: 5.001 MB / 2.041 GB, free: 12.54 MB / 1.042 GB Notification: Performance of Backend: time 1.132e-06/2.333, allocations: 4 kB / 2.041 GB, free: 12.54 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0435/2.377, allocations: 11.15 MB / 2.052 GB, free: 1.695 MB / 1.042 GB Notification: Performance of SimCode: time 1.347/3.724, allocations: 24.71 MB / 2.076 GB, free: 420.3 MB / 1.057 GB Notification: Performance of Templates: time 0.4598/4.183, allocations: 192.2 MB / 2.264 GB, free: 272.1 MB / 1.057 GB