Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001309/0.001309, allocations: 193 kB / 16.25 MB, free: 6.617 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.6/1.6, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 251.7 MB / 0.5089 GB, free: 3.273 MB / 414.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.002031/0.002031, allocations: 71.89 kB / 0.6217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6114, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1766/0.7881, allocations: 161.1 MB / 0.8813 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006377/0.7945, allocations: 4.588 MB / 0.8858 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007215/0.7953, allocations: 11.94 kB / 0.8858 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.7959, allocations: 107.3 kB / 0.8859 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.7974, allocations: 0.502 MB / 0.8864 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.7994, allocations: 0.7144 MB / 0.8871 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.8002, allocations: 0.5806 MB / 0.8877 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.8005, allocations: 193.2 kB / 0.8879 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.8016, allocations: 458.3 kB / 0.8883 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.8022, allocations: 298.9 kB / 0.8886 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.8022, allocations: 16 kB / 0.8886 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.8038, allocations: 1.048 MB / 0.8896 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.8039, allocations: 87.77 kB / 0.8897 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.8041, allocations: 131.3 kB / 0.8898 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009809/0.805, allocations: 0.7597 MB / 0.8906 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8051, allocations: 0 / 0.8906 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8051, allocations: 4 kB / 0.8906 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8051, allocations: 4 kB / 0.8906 GB, free: 1.871 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009427/0.806, allocations: 0.5879 MB / 0.8912 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.8061, allocations: 12.03 kB / 0.8912 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/0.8067, allocations: 71.59 kB / 0.8912 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.8071, allocations: 286.3 kB / 0.8915 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.8071, allocations: 19.98 kB / 0.8915 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.8072, allocations: 16 kB / 0.8916 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.8077, allocations: 279.5 kB / 0.8918 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8077, allocations: 0 / 0.8918 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.8077, allocations: 12 kB / 0.8918 GB, free: 496 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.8077, allocations: 7.938 kB / 0.8918 GB, free: 488 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.8081, allocations: 215.3 kB / 0.892 GB, free: 272 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.8096, allocations: 1.245 MB / 0.8933 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.8099, allocations: 169 kB / 0.8934 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.8101, allocations: 116.4 kB / 0.8935 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/0.8108, allocations: 331.2 kB / 0.8938 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.8108, allocations: 38.55 kB / 0.8939 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.8108, allocations: 0 / 0.8939 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007179/0.8116, allocations: 281.4 kB / 0.8942 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.8117, allocations: 158.2 kB / 0.8943 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.8119, allocations: 279 kB / 0.8946 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.812, allocations: 33.7 kB / 0.8946 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.8121, allocations: 151.5 kB / 0.8947 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.8121, allocations: 43.36 kB / 0.8948 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.8122, allocations: 45.83 kB / 0.8948 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8123, allocations: 338.8 kB / 0.8952 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.8125, allocations: 67.94 kB / 0.8952 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.8127, allocations: 142.1 kB / 0.8954 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.8131, allocations: 215.5 kB / 0.8956 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8131, allocations: 0 / 0.8956 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004546/0.8135, allocations: 245 kB / 0.8958 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8136, allocations: 12.25 kB / 0.8958 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8136, allocations: 0 / 0.8958 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.8136, allocations: 4.047 kB / 0.8958 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.8138, allocations: 39.91 kB / 0.8958 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8138, allocations: 7.984 kB / 0.8959 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.814, allocations: 31.69 kB / 0.8959 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.814, allocations: 15.92 kB / 0.8959 GB, free: 11.98 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001254/0.8142, allocations: 149.8 kB / 0.896 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.8143, allocations: 27.72 kB / 0.8961 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.8148, allocations: 189.8 kB / 0.8963 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8148, allocations: 0 / 0.8963 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8148, allocations: 4 kB / 0.8963 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8148, allocations: 0 / 0.8963 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/0.8157, allocations: 0.8548 MB / 0.8971 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8157, allocations: 4 kB / 0.8971 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.8158, allocations: 27.92 kB / 0.8971 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.8158, allocations: 3.938 kB / 0.8971 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.8158, allocations: 4 kB / 0.8971 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.8158, allocations: 7.938 kB / 0.8971 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8158, allocations: 128 / 0.8971 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.8163, allocations: 343.5 kB / 0.8975 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.8164, allocations: 112.8 kB / 0.8976 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.8165, allocations: 7.984 kB / 0.8976 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.8166, allocations: 4 kB / 0.8976 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.8167, allocations: 15.92 kB / 0.8976 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.8167, allocations: 4.094 kB / 0.8976 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002163/0.8169, allocations: 237.9 kB / 0.8978 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8169, allocations: 0 / 0.8978 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004375/0.8174, allocations: 99.98 kB / 0.8979 GB, free: 9.754 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005329/0.8179, allocations: 212.2 kB / 0.8981 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.8183, allocations: 159.7 kB / 0.8983 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8183, allocations: 0 / 0.8983 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.8185, allocations: 55.91 kB / 0.8983 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.8192, allocations: 147.1 kB / 0.8985 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.8201, allocations: 0.5352 MB / 0.899 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.8204, allocations: 0.7635 MB / 0.8997 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.8206, allocations: 58.95 kB / 0.8998 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.8207, allocations: 23.38 kB / 0.8998 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.8207, allocations: 4 kB / 0.8998 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of Templates: time 0.01008/0.8308, allocations: 5.664 MB / 0.9054 GB, free: 2.145 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)