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.0007594/0.0007594, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005113/0.005113, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.348 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 0.9445/0.9445, allocations: 143.2 MB / 434.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 15.98 kB / 0.5165 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1735, allocations: 83.42 MB / 0.598 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4893/0.6628, allocations: 165 MB / 0.7591 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007936/0.6708, allocations: 7.109 MB / 0.7661 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.6713, allocations: 15.94 kB / 0.7661 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.6718, allocations: 139.1 kB / 0.7662 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.6748, allocations: 1.183 MB / 0.7674 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.6762, allocations: 0.5801 MB / 0.768 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.6772, allocations: 1.053 MB / 0.769 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.6777, allocations: 251.1 kB / 0.7692 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009997/0.6787, allocations: 0.5136 MB / 0.7697 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006891/0.6794, allocations: 426.5 kB / 0.7701 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.6794, allocations: 16 kB / 0.7701 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.6814, allocations: 1.465 MB / 0.7716 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.6816, allocations: 107.7 kB / 0.7717 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.6817, allocations: 184.8 kB / 0.7719 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.6829, allocations: 0.9932 MB / 0.7728 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6829, allocations: 3.938 kB / 0.7728 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6829, allocations: 0 / 0.7728 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.6829, allocations: 0 / 0.7728 GB, free: 8.926 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.0008731/0.6838, allocations: 0.6312 MB / 0.7734 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6839, allocations: 8.031 kB / 0.7735 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.6839, allocations: 62.53 kB / 0.7735 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.6849, allocations: 131.3 kB / 0.7736 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.6853, allocations: 325.2 kB / 0.7739 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.6854, allocations: 46.27 kB / 0.774 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.6854, allocations: 32 kB / 0.774 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.686, allocations: 378.1 kB / 0.7744 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.686, allocations: 3.938 kB / 0.7744 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.6861, allocations: 12 kB / 0.7744 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6861, allocations: 4 kB / 0.7744 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.6866, allocations: 290 kB / 0.7747 GB, free: 6.914 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.00168/0.6883, allocations: 1.507 MB / 0.7761 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.6887, allocations: 203.5 kB / 0.7763 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.6889, allocations: 120.8 kB / 0.7765 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000936/0.6899, allocations: 0.5248 MB / 0.777 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.6899, allocations: 30.56 kB / 0.777 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.6899, allocations: 0 / 0.777 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008989/0.6908, allocations: 374.3 kB / 0.7774 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.6908, allocations: 55.41 kB / 0.7774 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.6911, allocations: 320.5 kB / 0.7777 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6912, allocations: 25.7 kB / 0.7777 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6913, allocations: 180.2 kB / 0.7779 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.6913, allocations: 55.2 kB / 0.778 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.6914, allocations: 25.7 kB / 0.778 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6915, allocations: 342.8 kB / 0.7783 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.6917, allocations: 91.92 kB / 0.7784 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.6919, allocations: 153.9 kB / 0.7786 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.6923, allocations: 245.8 kB / 0.7788 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6923, allocations: 0 / 0.7788 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00057/0.6929, allocations: 297.7 kB / 0.7791 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6929, allocations: 4.625 kB / 0.7791 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.693, allocations: 0 / 0.7791 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.693, allocations: 4 kB / 0.7791 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.6932, allocations: 51.22 kB / 0.7791 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.6932, allocations: 8 kB / 0.7791 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.6934, allocations: 35.67 kB / 0.7792 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.6935, allocations: 16 kB / 0.7792 GB, free: 1.961 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.0001382/0.6936, allocations: 153.7 kB / 0.7793 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.6937, allocations: 27.72 kB / 0.7794 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.6944, allocations: 326.5 kB / 0.7797 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6944, allocations: 0 / 0.7797 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.6945, allocations: 0 / 0.7797 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6945, allocations: 4 kB / 0.7797 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.6957, allocations: 0.8199 MB / 0.7805 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6957, allocations: 4 kB / 0.7805 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.6959, allocations: 39.91 kB / 0.7805 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6959, allocations: 7.938 kB / 0.7805 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.6959, allocations: 8.266 kB / 0.7805 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6959, allocations: 8 kB / 0.7805 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6959, allocations: 3.984 kB / 0.7805 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.6965, allocations: 409 kB / 0.7809 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.6966, allocations: 136.6 kB / 0.7811 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.6967, allocations: 15.19 kB / 0.7811 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.6969, allocations: 23.98 kB / 0.7811 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.697, allocations: 23.91 kB / 0.7811 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.697, allocations: 8 kB / 0.7811 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001948/0.6972, allocations: 227 kB / 0.7813 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6972, allocations: 4 kB / 0.7813 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004869/0.6977, allocations: 115.8 kB / 0.7815 GB, free: 15.49 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.00126/0.699, allocations: 1.078 MB / 0.7825 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.6995, allocations: 229.7 kB / 0.7827 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6995, allocations: 0 / 0.7827 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.6998, allocations: 123.8 kB / 0.7828 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009455/0.7007, allocations: 165.1 kB / 0.783 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.7045, allocations: 3.204 MB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.7049, allocations: 0.7875 MB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002948/0.7052, allocations: 83.97 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.7054, allocations: 103.4 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.7054, allocations: 0 / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.7264, allocations: 9.951 MB / 0.7968 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.7267, allocations: 254.3 kB / 0.797 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.615, allocations: 0 / 0.797 GB, free: 15.57 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)