Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 97.98 kB / 16.29 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 180.6 kB / 17.22 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.91 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2836, allocations: 114.5 MB / 0.7841 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00293/0.2866, allocations: 1.264 MB / 0.7853 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.532/0.8186, allocations: 2.935 MB / 0.7882 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.8187, allocations: 0 / 0.7882 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.8188, allocations: 3.281 kB / 0.7882 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.8189, allocations: 6.922 kB / 0.7882 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.8194, allocations: 96.2 kB / 0.7883 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.8195, allocations: 40.5 kB / 0.7883 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.8196, allocations: 0 / 0.7883 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.8201, allocations: 157.4 kB / 0.7884 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.8202, allocations: 20.27 kB / 0.7885 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.8202, allocations: 2.688 kB / 0.7885 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.8204, allocations: 64.89 kB / 0.7885 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.8204, allocations: 8.25 kB / 0.7885 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.8204, allocations: 20.12 kB / 0.7886 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.8206, allocations: 62.41 kB / 0.7886 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8206, allocations: 0 / 0.7886 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8206, allocations: 0 / 0.7886 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8207, allocations: 1 kB / 0.7886 GB, free: 45.87 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003732/0.821, allocations: 355.7 kB / 0.789 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.8211, allocations: 8.656 kB / 0.789 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.8211, allocations: 3.844 kB / 0.789 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.907e-05/0.8212, allocations: 160.4 kB / 0.7891 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.8212, allocations: 4.094 kB / 0.7891 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.8213, allocations: 12.05 kB / 0.7891 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.8214, allocations: 54.48 kB / 0.7892 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8214, allocations: 0 / 0.7892 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.8214, allocations: 6 kB / 0.7892 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8214, allocations: 2.625 kB / 0.7892 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.8215, allocations: 16.73 kB / 0.7892 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.8216, allocations: 173.5 kB / 0.7894 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/0.8217, allocations: 52.62 kB / 0.7894 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.8218, allocations: 16.56 kB / 0.7894 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.8223, allocations: 0.5935 MB / 0.79 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.8224, allocations: 39.55 kB / 0.7901 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.8224, allocations: 0 / 0.7901 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005182/0.8229, allocations: 300.9 kB / 0.7903 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.8229, allocations: 56.22 kB / 0.7904 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.823, allocations: 101.5 kB / 0.7905 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.823, allocations: 29.39 kB / 0.7905 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.823, allocations: 89.23 kB / 0.7906 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.8231, allocations: 25.17 kB / 0.7906 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.8231, allocations: 23.09 kB / 0.7907 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.8232, allocations: 324.3 kB / 0.791 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.8232, allocations: 10.89 kB / 0.791 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.8232, allocations: 56.25 kB / 0.791 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.8233, allocations: 73.42 kB / 0.7911 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.8233, allocations: 0.9844 kB / 0.7911 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001206/0.8235, allocations: 97.77 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8235, allocations: 5.25 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.8235, allocations: 3.25 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8235, allocations: 3.844 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.8236, allocations: 20.72 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.8236, allocations: 3.891 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.8236, allocations: 3.812 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.8236, allocations: 9.188 kB / 0.7912 GB, free: 43.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/0.8237, allocations: 125 kB / 0.7914 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.8238, allocations: 6.422 kB / 0.7914 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.8238, allocations: 10.47 kB / 0.7914 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.8238, allocations: 0.5 kB / 0.7914 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8238, allocations: 0.5312 kB / 0.7914 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8238, allocations: 1.906 kB / 0.7914 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.824, allocations: 177.7 kB / 0.7915 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.824, allocations: 0.5312 kB / 0.7915 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.8241, allocations: 13.12 kB / 0.7916 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8241, allocations: 7.766 kB / 0.7916 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8241, allocations: 4 kB / 0.7916 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8241, allocations: 1.469 kB / 0.7916 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8241, allocations: 0 / 0.7916 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.8243, allocations: 179.4 kB / 0.7917 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.8243, allocations: 79.58 kB / 0.7918 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.8244, allocations: 5.766 kB / 0.7918 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.8245, allocations: 1.406 kB / 0.7918 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.8245, allocations: 10.05 kB / 0.7918 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.8245, allocations: 4.844 kB / 0.7918 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.8245, allocations: 86.5 kB / 0.7919 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8245, allocations: 0 / 0.7919 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002276/0.8248, allocations: 13.97 kB / 0.7919 GB, free: 42.78 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.8249, allocations: 108.6 kB / 0.792 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.825, allocations: 41.8 kB / 0.7921 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.825, allocations: 0 / 0.7921 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.825, allocations: 20.59 kB / 0.7921 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.8254, allocations: 6.375 kB / 0.7921 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.8259, allocations: 323.7 kB / 0.7924 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.826, allocations: 0.6839 MB / 0.7931 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.826, allocations: 14.2 kB / 0.7931 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.8261, allocations: 10.62 kB / 0.7931 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8261, allocations: 0 / 0.7931 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.002783/0.8289, allocations: 0.6242 MB / 0.7937 GB, free: 41.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)