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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001183/0.001182, allocations: 198.7 kB / 16.14 MB, free: 6.688 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.227/1.227, allocations: 222.9 MB / 239.8 MB, free: 4.551 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.8884/0.8884, allocations: 143 MB / 433 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1271, allocations: 82.05 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3579/0.485, allocations: 167.2 MB / 0.757 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006819/0.4918, allocations: 7.207 MB / 0.7641 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.4921, allocations: 11.94 kB / 0.7641 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.4925, allocations: 139.1 kB / 0.7642 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.4947, allocations: 1.187 MB / 0.7654 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.4959, allocations: 0.579 MB / 0.7659 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008083/0.4967, allocations: 1.053 MB / 0.767 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.4971, allocations: 251.2 kB / 0.7672 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.4979, allocations: 0.5253 MB / 0.7677 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.4985, allocations: 434.4 kB / 0.7681 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.4986, allocations: 16 kB / 0.7682 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.5004, allocations: 1.473 MB / 0.7696 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.5005, allocations: 111.7 kB / 0.7697 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.5007, allocations: 163.2 kB / 0.7699 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.5018, allocations: 1.001 MB / 0.7708 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5018, allocations: 4 kB / 0.7708 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5018, allocations: 3.938 kB / 0.7708 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.5018, allocations: 0 / 0.7708 GB, free: 8.383 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.0008302/0.5026, allocations: 0.6855 MB / 0.7715 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5027, allocations: 12.03 kB / 0.7715 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/0.5027, allocations: 62.55 kB / 0.7716 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.5037, allocations: 124.2 kB / 0.7717 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.5041, allocations: 329.1 kB / 0.772 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.5041, allocations: 50.27 kB / 0.7721 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.5042, allocations: 24 kB / 0.7721 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.5048, allocations: 374.1 kB / 0.7724 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.5048, allocations: 0 / 0.7724 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.5048, allocations: 12 kB / 0.7724 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5048, allocations: 8 kB / 0.7725 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.5053, allocations: 274 kB / 0.7727 GB, free: 6.332 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.001595/0.5069, allocations: 1.506 MB / 0.7742 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.5073, allocations: 198.5 kB / 0.7744 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.5075, allocations: 112.8 kB / 0.7745 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009044/0.5084, allocations: 0.5014 MB / 0.775 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.5084, allocations: 38.55 kB / 0.775 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.5085, allocations: 0 / 0.775 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008515/0.5093, allocations: 366.4 kB / 0.7754 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.5093, allocations: 51.41 kB / 0.7754 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.5096, allocations: 312.5 kB / 0.7757 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.5096, allocations: 33.7 kB / 0.7757 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.5098, allocations: 184 kB / 0.7759 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.5098, allocations: 55.28 kB / 0.776 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.5099, allocations: 41.7 kB / 0.776 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.51, allocations: 338.8 kB / 0.7763 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.5102, allocations: 87.94 kB / 0.7764 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.5104, allocations: 145.9 kB / 0.7766 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.5108, allocations: 247.4 kB / 0.7768 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5108, allocations: 0 / 0.7768 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005289/0.5113, allocations: 281 kB / 0.7771 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5114, allocations: 4 kB / 0.7771 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5114, allocations: 4 kB / 0.7771 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5114, allocations: 4 kB / 0.7771 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.5116, allocations: 39.92 kB / 0.7771 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5116, allocations: 4.625 kB / 0.7771 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.5118, allocations: 47.84 kB / 0.7772 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.5119, allocations: 8 kB / 0.7772 GB, free: 1.438 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.0001332/0.512, allocations: 157.7 kB / 0.7773 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.5121, allocations: 27.62 kB / 0.7773 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.5128, allocations: 314.5 kB / 0.7776 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.5128, allocations: 0.875 kB / 0.7776 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5128, allocations: 0 / 0.7776 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5128, allocations: 3.984 kB / 0.7776 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.514, allocations: 0.8082 MB / 0.7784 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.514, allocations: 0 / 0.7784 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.5142, allocations: 39.92 kB / 0.7785 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5142, allocations: 5 kB / 0.7785 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5142, allocations: 8.031 kB / 0.7785 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/0.5142, allocations: 4.375 kB / 0.7785 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.5142, allocations: 11.94 kB / 0.7785 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.5148, allocations: 393.9 kB / 0.7789 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.5149, allocations: 136.6 kB / 0.779 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5149, allocations: 7.938 kB / 0.779 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.5152, allocations: 24.84 kB / 0.779 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.5153, allocations: 19.92 kB / 0.7791 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.5153, allocations: 15.98 kB / 0.7791 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001824/0.5155, allocations: 223.1 kB / 0.7793 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5155, allocations: 0 / 0.7793 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004255/0.5159, allocations: 123.8 kB / 0.7794 GB, free: 15 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.001205/0.5171, allocations: 1.07 MB / 0.7805 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.5176, allocations: 216 kB / 0.7807 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5176, allocations: 4.062 kB / 0.7807 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.5178, allocations: 115.8 kB / 0.7808 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.5186, allocations: 149.7 kB / 0.7809 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.5222, allocations: 3.165 MB / 0.784 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.5225, allocations: 0.7914 MB / 0.7848 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002844/0.5228, allocations: 89.23 kB / 0.7849 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.523, allocations: 103.4 kB / 0.785 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.523, allocations: 0 / 0.785 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.924/3.447, allocations: 10.08 MB / 0.7948 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/3.447, allocations: 249.1 kB / 0.795 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/5.156, allocations: 0 / 0.795 GB, free: 15.02 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)