Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 102.7 kB / 16.35 MB, free: 6.289 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.001059/0.001059, allocations: 193.4 kB / 17.3 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.847/0.847, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 82.04 MB / 0.5957 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4683/0.7796, allocations: 169.5 MB / 0.7612 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007824/0.7874, allocations: 7.163 MB / 0.7682 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.7879, allocations: 13.75 kB / 0.7682 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.7884, allocations: 168 kB / 0.7684 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.7914, allocations: 1.261 MB / 0.7696 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.793, allocations: 0.6334 MB / 0.7702 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000875/0.7939, allocations: 0.7573 MB / 0.7709 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.7943, allocations: 301.1 kB / 0.7712 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.7955, allocations: 0.5675 MB / 0.7718 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008749/0.7964, allocations: 420.8 kB / 0.7722 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.7965, allocations: 28.66 kB / 0.7722 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.7983, allocations: 1.242 MB / 0.7734 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.7985, allocations: 119.3 kB / 0.7735 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.7986, allocations: 177.1 kB / 0.7737 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.7998, allocations: 0.9203 MB / 0.7746 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7998, allocations: 5.391 kB / 0.7746 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7998, allocations: 0 / 0.7746 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.7998, allocations: 0.8125 kB / 0.7746 GB, free: 1.375 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009864/0.8008, allocations: 0.6996 MB / 0.7753 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.8008, allocations: 10.56 kB / 0.7753 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.8018, allocations: 123.2 kB / 0.7754 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.8024, allocations: 345 kB / 0.7758 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.8025, allocations: 51.64 kB / 0.7758 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.8026, allocations: 24.59 kB / 0.7758 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.8032, allocations: 372 kB / 0.7762 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8032, allocations: 5.141 kB / 0.7762 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.8033, allocations: 16.41 kB / 0.7762 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.8033, allocations: 8 kB / 0.7762 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.8038, allocations: 271.5 kB / 0.7765 GB, free: 16.5 MB / 0.5919 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.001647/0.8054, allocations: 1.489 MB / 0.7779 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.8058, allocations: 195 kB / 0.7781 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.806, allocations: 118.5 kB / 0.7782 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008771/0.8068, allocations: 0.5035 MB / 0.7787 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.8069, allocations: 34.91 kB / 0.7787 GB, free: 15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.8069, allocations: 0 / 0.7787 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000859/0.8077, allocations: 359.7 kB / 0.7791 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.8078, allocations: 52.31 kB / 0.7791 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.8081, allocations: 323.3 kB / 0.7794 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.8081, allocations: 31.55 kB / 0.7795 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.8082, allocations: 179.7 kB / 0.7796 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.8083, allocations: 57.8 kB / 0.7797 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.8083, allocations: 41.58 kB / 0.7797 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8085, allocations: 341.8 kB / 0.7801 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.8086, allocations: 88.8 kB / 0.7802 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.8089, allocations: 149.5 kB / 0.7803 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.8092, allocations: 234.9 kB / 0.7805 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8093, allocations: 1.938 kB / 0.7805 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005139/0.8098, allocations: 292.7 kB / 0.7808 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8098, allocations: 7.844 kB / 0.7808 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8098, allocations: 4.031 kB / 0.7808 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8098, allocations: 2.406 kB / 0.7808 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.81, allocations: 45.36 kB / 0.7809 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8101, allocations: 7.125 kB / 0.7809 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.8103, allocations: 33.98 kB / 0.7809 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.8103, allocations: 10.09 kB / 0.7809 GB, free: 14.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001389/0.8104, allocations: 150 kB / 0.7811 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.8105, allocations: 28.78 kB / 0.7811 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006083/0.8112, allocations: 309.4 kB / 0.7814 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.8112, allocations: 4.531 kB / 0.7814 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8112, allocations: 3.938 kB / 0.7814 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.8112, allocations: 3.906 kB / 0.7814 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.8123, allocations: 0.808 MB / 0.7822 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8123, allocations: 2.5 kB / 0.7822 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.8125, allocations: 37.41 kB / 0.7822 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.8125, allocations: 3.188 kB / 0.7822 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.8126, allocations: 6.406 kB / 0.7822 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.8126, allocations: 6.031 kB / 0.7822 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8126, allocations: 5.594 kB / 0.7822 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.8131, allocations: 404.1 kB / 0.7826 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.8133, allocations: 133.2 kB / 0.7827 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.8133, allocations: 7.156 kB / 0.7828 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.8135, allocations: 15.86 kB / 0.7828 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.8136, allocations: 23.34 kB / 0.7828 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.8136, allocations: 7.906 kB / 0.7828 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001814/0.8138, allocations: 228.7 kB / 0.783 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8138, allocations: 0.9062 kB / 0.783 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004925/0.8143, allocations: 115.3 kB / 0.7831 GB, free: 13.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005505/0.8149, allocations: 243.6 kB / 0.7834 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.8154, allocations: 226.3 kB / 0.7836 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8154, allocations: 2.375 kB / 0.7836 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.8156, allocations: 117.2 kB / 0.7837 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.8164, allocations: 156.7 kB / 0.7838 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.8174, allocations: 0.5936 MB / 0.7844 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.8177, allocations: 0.7884 MB / 0.7852 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.818, allocations: 90.98 kB / 0.7853 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.8181, allocations: 31.28 kB / 0.7853 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8181, allocations: 0 / 0.7853 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.01137/0.8295, allocations: 7.337 MB / 0.7925 GB, free: 11.61 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)