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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006004/0.006005, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001317/0.001318, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.9308/0.9308, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 62.09 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.19, allocations: 82.05 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5877/0.7778, allocations: 169.5 MB / 0.8407 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008759/0.7866, allocations: 7.163 MB / 0.8477 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.7872, allocations: 17.25 kB / 0.8477 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.7879, allocations: 172.7 kB / 0.8479 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.7914, allocations: 1.254 MB / 0.8491 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.793, allocations: 0.6324 MB / 0.8497 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.7941, allocations: 0.7544 MB / 0.8504 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.7946, allocations: 297.9 kB / 0.8507 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.7959, allocations: 0.5764 MB / 0.8513 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008278/0.7967, allocations: 424.5 kB / 0.8517 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.7968, allocations: 25.28 kB / 0.8517 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.799, allocations: 1.244 MB / 0.8529 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.7992, allocations: 112.8 kB / 0.853 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.7994, allocations: 182.6 kB / 0.8532 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.8011, allocations: 0.9174 MB / 0.8541 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8012, allocations: 0 / 0.8541 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8012, allocations: 0 / 0.8541 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.8012, allocations: 0 / 0.8541 GB, free: 6.887 MB / 0.6231 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.001226/0.8024, allocations: 0.7012 MB / 0.8548 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.8025, allocations: 8.031 kB / 0.8548 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.8026, allocations: 67.22 kB / 0.8549 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.8037, allocations: 127.4 kB / 0.855 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.8043, allocations: 345.1 kB / 0.8553 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-05/0.8044, allocations: 54.25 kB / 0.8554 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.8045, allocations: 28 kB / 0.8554 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.8052, allocations: 362.2 kB / 0.8557 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.8052, allocations: 0 / 0.8557 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.8052, allocations: 18.62 kB / 0.8558 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.8052, allocations: 8 kB / 0.8558 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.8058, allocations: 274 kB / 0.856 GB, free: 4.797 MB / 0.6231 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.001847/0.8076, allocations: 1.492 MB / 0.8575 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.808, allocations: 194.5 kB / 0.8577 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.8083, allocations: 116.8 kB / 0.8578 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.8094, allocations: 0.5053 MB / 0.8583 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.8094, allocations: 30.56 kB / 0.8583 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 3.907e-06/0.8094, allocations: 0 / 0.8583 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000971/0.8104, allocations: 364.3 kB / 0.8586 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.8105, allocations: 59.34 kB / 0.8587 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.8108, allocations: 316.5 kB / 0.859 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.8108, allocations: 25.7 kB / 0.859 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.811, allocations: 188.1 kB / 0.8592 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.811, allocations: 55.19 kB / 0.8593 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.8111, allocations: 49.7 kB / 0.8593 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8113, allocations: 342.8 kB / 0.8596 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.8115, allocations: 79.94 kB / 0.8597 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.8117, allocations: 145.9 kB / 0.8599 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.8121, allocations: 233.8 kB / 0.8601 GB, free: 324 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8121, allocations: 7.938 kB / 0.8601 GB, free: 316 kB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005577/0.8127, allocations: 288.3 kB / 0.8604 GB, free: 24 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8127, allocations: 5.875 kB / 0.8604 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8127, allocations: 4 kB / 0.8604 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8127, allocations: 0 / 0.8604 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.813, allocations: 44.09 kB / 0.8604 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.813, allocations: 8 kB / 0.8604 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.8133, allocations: 31.67 kB / 0.8604 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.8133, allocations: 16 kB / 0.8605 GB, free: 15.92 MB / 0.6387 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.0001658/0.8135, allocations: 153.7 kB / 0.8606 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.8136, allocations: 27.72 kB / 0.8606 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/0.8143, allocations: 315 kB / 0.8609 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.8143, allocations: 4 kB / 0.8609 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8143, allocations: 0 / 0.8609 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8143, allocations: 0 / 0.8609 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.8156, allocations: 0.8083 MB / 0.8617 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8156, allocations: 0.875 kB / 0.8617 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.8158, allocations: 35.97 kB / 0.8618 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.8158, allocations: 0 / 0.8618 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.8159, allocations: 15.88 kB / 0.8618 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8159, allocations: 4.219 kB / 0.8618 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8159, allocations: 8 kB / 0.8618 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.8165, allocations: 394.1 kB / 0.8622 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.8166, allocations: 144.6 kB / 0.8623 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.8167, allocations: 8.031 kB / 0.8623 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.8169, allocations: 19.97 kB / 0.8623 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.817, allocations: 15.97 kB / 0.8623 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.817, allocations: 16 kB / 0.8624 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002073/0.8172, allocations: 223 kB / 0.8626 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8172, allocations: 4 kB / 0.8626 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005179/0.8178, allocations: 119.8 kB / 0.8627 GB, free: 13.48 MB / 0.6387 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.00139/0.8192, allocations: 1.063 MB / 0.8637 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.8197, allocations: 215.7 kB / 0.8639 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8197, allocations: 0 / 0.8639 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.8199, allocations: 124.5 kB / 0.8641 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.8208, allocations: 161.9 kB / 0.8642 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.8248, allocations: 3.053 MB / 0.8672 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.8252, allocations: 0.7872 MB / 0.868 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.8255, allocations: 78.88 kB / 0.868 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.8257, allocations: 99.41 kB / 0.8681 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.8257, allocations: 4 kB / 0.8681 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.8553, allocations: 10.71 MB / 0.8786 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.656, allocations: 15.98 kB / 0.8786 GB, free: 13.16 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)