Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.733/4.733, allocations: 0.5623 GB / 0.5776 GB, free: 3.277 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.002444/0.002444, allocations: 362.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 4.03/4.03, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 180.3 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004815, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7131/0.7136, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003548/0.7172, allocations: 2.561 MB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004415/0.7177, allocations: 373 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.7178, allocations: 0.75 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.446e-05/0.7179, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.7179, allocations: 16.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.7184, allocations: 128.9 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.7185, allocations: 46.03 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.7186, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.7186, allocations: 11.98 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.7187, allocations: 19.86 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.7187, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.719, allocations: 88.45 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.7191, allocations: 7.984 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.7191, allocations: 31.48 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.7193, allocations: 57.98 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7193, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7193, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.7193, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003381/0.7197, allocations: 340.6 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.7197, allocations: 15.62 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.7198, allocations: 4.797 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/0.7199, allocations: 163.1 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/0.7199, allocations: 34.55 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.72, allocations: 2.422 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.7201, allocations: 41.69 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7201, allocations: 0.5938 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.7202, allocations: 1.812 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.7202, allocations: 7.953 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.7203, allocations: 11.98 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.7208, allocations: 0.5845 MB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.145e-05/0.7209, allocations: 22.52 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.7209, allocations: 9.391 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.7211, allocations: 354.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.7212, allocations: 38.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.7212, allocations: 0.6875 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.7213, allocations: 30.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.7213, allocations: 59.34 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.7214, allocations: 103.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.7214, allocations: 25.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.7215, allocations: 85.36 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/0.7215, allocations: 8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.7215, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.7216, allocations: 311.7 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.7216, allocations: 8.984 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.7216, allocations: 13.72 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.7217, allocations: 10.28 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7217, allocations: 0 / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.952e-05/0.7218, allocations: 53.53 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7218, allocations: 4 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7218, allocations: 2.531 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.7218, allocations: 7.953 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.7219, allocations: 7.938 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.7219, allocations: 3.984 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.722, allocations: 6.141 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.722, allocations: 4 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.7221, allocations: 106.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.7221, allocations: 0.9688 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.7222, allocations: 121.6 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/0.7223, allocations: 189.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.7223, allocations: 104.9 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.7223, allocations: 178.9 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.7224, allocations: 193.1 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.7226, allocations: 112.6 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.7226, allocations: 176.3 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.447e-05/0.7227, allocations: 255.5 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001032/0.7228, allocations: 391.8 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.573e-05/0.7228, allocations: 108.9 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.7229, allocations: 88.23 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of Backend: time 6.11e-07/0.7229, allocations: 3.938 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.7235, allocations: 139 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004662/0.7239, allocations: 0.9346 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.004197/0.7281, allocations: 1.047 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB