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.001793/0.001793, allocations: 107.5 kB / 16.36 MB, free: 6.309 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.001948/0.001948, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001439/0.001439, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003151/0.263, allocations: 1.267 MB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4359/0.6989, allocations: 2.921 MB / 0.7889 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.699, allocations: 0 / 0.7889 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.6991, allocations: 0 / 0.7889 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.6992, allocations: 7.281 kB / 0.7889 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.6997, allocations: 108.8 kB / 0.789 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.6998, allocations: 35.03 kB / 0.789 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.6998, allocations: 2.656 kB / 0.789 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.7003, allocations: 150.2 kB / 0.7891 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.7004, allocations: 25.77 kB / 0.7892 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.7004, allocations: 3.906 kB / 0.7892 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.7006, allocations: 60.53 kB / 0.7892 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.7006, allocations: 12.95 kB / 0.7892 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.7006, allocations: 15.77 kB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.7008, allocations: 71.77 kB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7008, allocations: 0 / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7008, allocations: 0 / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7009, allocations: 0.9688 kB / 0.7893 GB, free: 46.59 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.0004012/0.7013, allocations: 344 kB / 0.7897 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7013, allocations: 17.34 kB / 0.7897 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.7014, allocations: 2.906 kB / 0.7897 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.7014, allocations: 163.7 kB / 0.7898 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.7015, allocations: 3.438 kB / 0.7898 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.7015, allocations: 7.766 kB / 0.7898 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.7016, allocations: 58.66 kB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7017, allocations: 2.344 kB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7017, allocations: 0 / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.7017, allocations: 2.688 kB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.7017, allocations: 19.8 kB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.7019, allocations: 170.3 kB / 0.7901 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.702, allocations: 50.64 kB / 0.7901 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.702, allocations: 20.36 kB / 0.7901 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.7027, allocations: 0.5896 MB / 0.7907 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.7027, allocations: 31.84 kB / 0.7908 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.7027, allocations: 6.438 kB / 0.7908 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005638/0.7033, allocations: 301.4 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.7033, allocations: 52.41 kB / 0.7911 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.7034, allocations: 103.2 kB / 0.7912 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.7034, allocations: 30.77 kB / 0.7912 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.7034, allocations: 94.55 kB / 0.7913 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.7034, allocations: 23.5 kB / 0.7913 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.7035, allocations: 26.25 kB / 0.7914 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.7036, allocations: 318.7 kB / 0.7917 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.7036, allocations: 16.03 kB / 0.7917 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.7036, allocations: 54.59 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.7037, allocations: 79.53 kB / 0.7918 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7037, allocations: 0 / 0.7918 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001148/0.7038, allocations: 91.52 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7039, allocations: 5.844 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7039, allocations: 3.312 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7039, allocations: 3.344 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.704, allocations: 26.61 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.704, allocations: 2.062 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.704, allocations: 2.938 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7041, allocations: 8.406 kB / 0.7919 GB, free: 44.11 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.826e-05/0.7041, allocations: 124.2 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.7042, allocations: 1.844 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.7042, allocations: 11.89 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7042, allocations: 2.781 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7042, allocations: 0.5938 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7042, allocations: 0.5 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.7044, allocations: 172 kB / 0.7922 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7044, allocations: 4.125 kB / 0.7923 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.7045, allocations: 19.14 kB / 0.7923 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7045, allocations: 0 / 0.7923 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7045, allocations: 0 / 0.7923 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7045, allocations: 5.484 kB / 0.7923 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7045, allocations: 7.594 kB / 0.7923 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.7047, allocations: 174.4 kB / 0.7924 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.7048, allocations: 86.91 kB / 0.7925 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.7048, allocations: 5.25 kB / 0.7925 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.7049, allocations: 7.188 kB / 0.7925 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.7049, allocations: 2.625 kB / 0.7925 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.7049, allocations: 4.25 kB / 0.7926 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.705, allocations: 81.84 kB / 0.7926 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.705, allocations: 0 / 0.7926 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002286/0.7052, allocations: 13.88 kB / 0.7926 GB, free: 43.48 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.0001232/0.7053, allocations: 114.9 kB / 0.7928 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.7054, allocations: 36.66 kB / 0.7928 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7055, allocations: 0.8438 kB / 0.7928 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.7055, allocations: 23.7 kB / 0.7928 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.7058, allocations: 4.781 kB / 0.7928 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.7063, allocations: 354.6 kB / 0.7932 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.7064, allocations: 0.6823 MB / 0.7938 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.7065, allocations: 16.69 kB / 0.7938 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.7065, allocations: 0 / 0.7938 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.002183/0.7087, allocations: 0.7822 MB / 0.7946 GB, free: 42.39 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)