Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.708/4.708, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002483/0.002483, allocations: 359.2 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.867/3.867, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 183.8 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 15.98 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1924, allocations: 115.3 MB / 1.461 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.027/1.219, allocations: 277.5 MB / 1.732 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.09505/1.314, allocations: 46.07 MB / 1.777 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01037/1.325, allocations: 254.2 kB / 1.778 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01351/1.338, allocations: 2.732 MB / 1.78 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.04731/1.386, allocations: 9.413 MB / 1.789 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.03298/1.419, allocations: 5.929 MB / 1.795 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03956/1.458, allocations: 21.02 MB / 1.816 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/1.469, allocations: 4.28 MB / 1.82 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01794/1.487, allocations: 5.719 MB / 1.825 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01149/1.498, allocations: 4.612 MB / 1.83 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001967/1.5, allocations: 235.9 kB / 1.83 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/1.514, allocations: 2.462 MB / 1.833 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002984/1.517, allocations: 1.061 MB / 1.834 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.003805/1.52, allocations: 1.373 MB / 1.835 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01591/1.536, allocations: 7.387 MB / 1.842 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.536, allocations: 0 / 1.842 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.297e-06/1.536, allocations: 0 / 1.842 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003153/1.537, allocations: 4 kB / 1.842 GB, free: 2.035 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01764/1.554, allocations: 6.238 MB / 1.848 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/1.554, allocations: 8.562 kB / 1.848 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/1.558, allocations: 0.7803 MB / 1.849 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/1.574, allocations: 4.965 MB / 1.854 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/1.574, allocations: 320.1 kB / 1.854 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009672/1.575, allocations: 432 kB / 1.855 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/1.587, allocations: 4.362 MB / 1.859 GB, free: 460 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/1.587, allocations: 15.78 kB / 1.859 GB, free: 444 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005829/1.588, allocations: 172 kB / 1.859 GB, free: 272 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.588, allocations: 116 kB / 1.859 GB, free: 156 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008872/1.597, allocations: 2.941 MB / 1.862 GB, free: 13.21 MB / 0.9323 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.04039/1.637, allocations: 25.04 MB / 1.887 GB, free: 2.125 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6717/2.309, allocations: 2.746 MB / 1.889 GB, free: 341.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/2.312, allocations: 0.9923 MB / 1.89 GB, free: 341.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003232/2.315, allocations: 3.916 MB / 1.894 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.622e-05/2.316, allocations: 61.75 kB / 1.894 GB, free: 336.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=217): time 5.47e-06/2.316, allocations: 3.438 kB / 1.894 GB, free: 336.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=217): time 0.01747/2.333, allocations: 4.064 MB / 1.898 GB, free: 335.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/2.333, allocations: 74.88 kB / 1.898 GB, free: 335.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/2.344, allocations: 4.158 MB / 1.902 GB, free: 334.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005644/2.344, allocations: 79.28 kB / 1.902 GB, free: 334.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002896/2.347, allocations: 2.767 MB / 1.905 GB, free: 332.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/2.348, allocations: 0.769 MB / 1.906 GB, free: 331.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/2.348, allocations: 55.53 kB / 1.906 GB, free: 331.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002044/2.349, allocations: 419.5 kB / 1.906 GB, free: 331.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/2.351, allocations: 0.7811 MB / 1.907 GB, free: 331.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003334/2.354, allocations: 1.806 MB / 1.909 GB, free: 329.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/2.358, allocations: 1.079 MB / 1.91 GB, free: 329 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.583e-05/2.358, allocations: 10.34 kB / 1.91 GB, free: 329 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01279/2.37, allocations: 3.492 MB / 1.913 GB, free: 327.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004178/2.371, allocations: 0.7439 MB / 1.914 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/2.371, allocations: 25.28 kB / 1.914 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/2.376, allocations: 0.5667 MB / 1.914 GB, free: 326.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/2.379, allocations: 0.5594 MB / 1.915 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/2.382, allocations: 2.684 MB / 1.918 GB, free: 324.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007981/2.39, allocations: 0.6139 MB / 1.918 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006255/2.391, allocations: 136.8 kB / 1.918 GB, free: 323.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/2.391, allocations: 4.344 kB / 1.918 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008815/2.4, allocations: 2.801 MB / 1.921 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.995e-05/2.4, allocations: 21.34 kB / 1.921 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/2.402, allocations: 376.2 kB / 1.921 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/2.405, allocations: 0.5556 MB / 1.922 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/2.417, allocations: 7.717 MB / 1.93 GB, free: 315.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007522/2.424, allocations: 0.5701 MB / 1.93 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005991/2.425, allocations: 128.3 kB / 1.93 GB, free: 315.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0032/2.428, allocations: 1.005 MB / 1.931 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/2.43, allocations: 0.5076 MB / 1.932 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/2.44, allocations: 3.576 MB / 1.935 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006823/2.447, allocations: 2.432 MB / 1.938 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/2.447, allocations: 1 kB / 1.938 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003573/2.451, allocations: 0.9757 MB / 1.939 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/2.452, allocations: 43.42 kB / 1.939 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006419/2.459, allocations: 368.8 kB / 1.939 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006464/2.459, allocations: 186.9 kB / 1.939 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008835/2.468, allocations: 2.866 MB / 1.942 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00934/2.478, allocations: 4.088 MB / 1.946 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002451/2.48, allocations: 1.042 MB / 1.947 GB, free: 308.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005747/2.486, allocations: 2.726 MB / 1.95 GB, free: 307.2 MB / 0.948 GB Notification: Performance of Backend: time 1.092e-06/2.486, allocations: 0 / 1.95 GB, free: 307.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01409/2.5, allocations: 5.115 MB / 1.955 GB, free: 305.4 MB / 0.948 GB Notification: Performance of SimCode: time 0.03256/2.533, allocations: 13.28 MB / 1.968 GB, free: 295.8 MB / 0.948 GB Notification: Performance of Templates: time 0.2393/2.772, allocations: 104.1 MB / 2.069 GB, free: 193 MB / 0.948 GB