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.001278/0.001278, 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.001295/0.001295, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.221/1.221, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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 1.039/1.039, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 75.88 kB / 0.5138 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 82.04 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4713/0.6314, allocations: 167.2 MB / 0.7572 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007744/0.6392, allocations: 7.111 MB / 0.7641 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.6397, allocations: 7.938 kB / 0.7641 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.6402, allocations: 143.1 kB / 0.7643 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.6434, allocations: 1.199 MB / 0.7654 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.645, allocations: 0.567 MB / 0.766 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008714/0.6459, allocations: 0.7718 MB / 0.7667 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.6463, allocations: 279.8 kB / 0.767 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.6474, allocations: 0.5604 MB / 0.7675 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000826/0.6483, allocations: 438.6 kB / 0.768 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.6483, allocations: 31.94 kB / 0.768 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.6504, allocations: 1.313 MB / 0.7693 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.6506, allocations: 123.6 kB / 0.7694 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.6508, allocations: 175.1 kB / 0.7696 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.652, allocations: 0.9933 MB / 0.7705 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6521, allocations: 8 kB / 0.7705 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6521, allocations: 0 / 0.7705 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6521, allocations: 0 / 0.7705 GB, free: 8.695 MB / 0.5919 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.0009036/0.653, allocations: 0.6973 MB / 0.7712 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.653, allocations: 8.031 kB / 0.7712 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.6531, allocations: 58.55 kB / 0.7713 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6541, allocations: 127.4 kB / 0.7714 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.6546, allocations: 325.1 kB / 0.7717 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.6547, allocations: 55 kB / 0.7718 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.6547, allocations: 28 kB / 0.7718 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.6554, allocations: 362.2 kB / 0.7721 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6554, allocations: 0 / 0.7721 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.6555, allocations: 12 kB / 0.7722 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.6555, allocations: 8 kB / 0.7722 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.656, allocations: 281.9 kB / 0.7724 GB, free: 6.637 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.001701/0.6577, allocations: 1.496 MB / 0.7739 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.6581, allocations: 195.3 kB / 0.7741 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.6584, allocations: 117.3 kB / 0.7742 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.6594, allocations: 0.5053 MB / 0.7747 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.6594, allocations: 38.55 kB / 0.7747 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.6594, allocations: 0 / 0.7747 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008917/0.6603, allocations: 354.5 kB / 0.7751 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.6604, allocations: 51.41 kB / 0.7751 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.6607, allocations: 316.5 kB / 0.7754 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.6607, allocations: 29.7 kB / 0.7754 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.6608, allocations: 192 kB / 0.7756 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.6609, allocations: 55.22 kB / 0.7757 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.661, allocations: 45.7 kB / 0.7757 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6611, allocations: 338.8 kB / 0.776 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.6613, allocations: 87.92 kB / 0.7761 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.6615, allocations: 139.3 kB / 0.7763 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.6619, allocations: 253.7 kB / 0.7765 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6619, allocations: 0 / 0.7765 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005639/0.6625, allocations: 287.7 kB / 0.7768 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6625, allocations: 4 kB / 0.7768 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6625, allocations: 4 kB / 0.7768 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6625, allocations: 0 / 0.7768 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.6628, allocations: 48.53 kB / 0.7768 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6628, allocations: 4 kB / 0.7768 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.663, allocations: 35.67 kB / 0.7769 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.663, allocations: 16.06 kB / 0.7769 GB, free: 1.742 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.0001397/0.6632, allocations: 149.8 kB / 0.777 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6633, allocations: 35.61 kB / 0.7771 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006818/0.664, allocations: 311.5 kB / 0.7774 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.664, allocations: 4 kB / 0.7774 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.664, allocations: 4 kB / 0.7774 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.664, allocations: 0 / 0.7774 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.6653, allocations: 0.8043 MB / 0.7781 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6653, allocations: 7.125 kB / 0.7782 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.6655, allocations: 35.98 kB / 0.7782 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6655, allocations: 0 / 0.7782 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.6656, allocations: 11.92 kB / 0.7782 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.6656, allocations: 7.938 kB / 0.7782 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6656, allocations: 4 kB / 0.7782 GB, free: 304 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.6662, allocations: 399.1 kB / 0.7786 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.6663, allocations: 136.6 kB / 0.7787 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.6664, allocations: 7.938 kB / 0.7787 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.6666, allocations: 23.98 kB / 0.7787 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.6667, allocations: 7.984 kB / 0.7788 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.6667, allocations: 23.98 kB / 0.7788 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001933/0.6669, allocations: 223.1 kB / 0.779 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6669, allocations: 3.938 kB / 0.779 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004855/0.6674, allocations: 123.8 kB / 0.7791 GB, free: 15.31 MB / 0.6075 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.001291/0.6687, allocations: 1.063 MB / 0.7802 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.6692, allocations: 215.7 kB / 0.7804 GB, free: 14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6693, allocations: 0 / 0.7804 GB, free: 14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.6695, allocations: 120.6 kB / 0.7805 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.6704, allocations: 158.3 kB / 0.7806 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.6742, allocations: 3.161 MB / 0.7837 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.6746, allocations: 0.7872 MB / 0.7845 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003112/0.6749, allocations: 88.72 kB / 0.7846 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6751, allocations: 100.9 kB / 0.7847 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.6751, allocations: 0 / 0.7847 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3209/0.996, allocations: 10.34 MB / 0.7948 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.9962, allocations: 249.1 kB / 0.795 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.427, allocations: 3.938 kB / 0.795 GB, free: 15.1 MB / 0.6231 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)