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.001803/0.001803, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.9326/0.9326, allocations: 143 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1575, allocations: 82.04 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4385/0.596, allocations: 169.5 MB / 0.7599 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007401/0.6034, allocations: 7.144 MB / 0.7669 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.6037, allocations: 15.88 kB / 0.7669 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.6042, allocations: 174.7 kB / 0.767 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.6064, allocations: 1.26 MB / 0.7683 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.6076, allocations: 0.6307 MB / 0.7689 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.6083, allocations: 0.7564 MB / 0.7696 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.6086, allocations: 299.7 kB / 0.7699 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.6094, allocations: 0.5643 MB / 0.7705 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.6101, allocations: 422.5 kB / 0.7709 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.6101, allocations: 28 kB / 0.7709 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.6117, allocations: 1.239 MB / 0.7721 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6118, allocations: 123.6 kB / 0.7722 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.612, allocations: 175.2 kB / 0.7724 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.613, allocations: 0.9155 MB / 0.7733 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.613, allocations: 0 / 0.7733 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.613, allocations: 0 / 0.7733 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.613, allocations: 0 / 0.7733 GB, free: 5.992 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.0008237/0.6139, allocations: 0.7018 MB / 0.774 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.6139, allocations: 8.031 kB / 0.774 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.614, allocations: 62.53 kB / 0.774 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009347/0.6149, allocations: 127.4 kB / 0.7742 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.6153, allocations: 325.1 kB / 0.7745 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.6153, allocations: 46.27 kB / 0.7745 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.6154, allocations: 28 kB / 0.7745 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.6159, allocations: 370.1 kB / 0.7749 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.616, allocations: 0 / 0.7749 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.616, allocations: 12 kB / 0.7749 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.616, allocations: 4 kB / 0.7749 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.6165, allocations: 281.9 kB / 0.7752 GB, free: 3.93 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.00166/0.6182, allocations: 1.512 MB / 0.7767 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.6185, allocations: 190.6 kB / 0.7768 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.6187, allocations: 120.8 kB / 0.777 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009174/0.6197, allocations: 0.5053 MB / 0.7774 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.6197, allocations: 34.5 kB / 0.7775 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.6197, allocations: 4 kB / 0.7775 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008359/0.6206, allocations: 362 kB / 0.7778 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.6206, allocations: 51.41 kB / 0.7779 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.6209, allocations: 316.5 kB / 0.7782 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.6209, allocations: 25.7 kB / 0.7782 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.621, allocations: 192.1 kB / 0.7784 GB, free: 380 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.6211, allocations: 47.28 kB / 0.7784 GB, free: 332 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.6211, allocations: 45.7 kB / 0.7785 GB, free: 280 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6213, allocations: 338.8 kB / 0.7788 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.6214, allocations: 87.94 kB / 0.7789 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.6217, allocations: 151.9 kB / 0.779 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.6221, allocations: 239.1 kB / 0.7793 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6221, allocations: 0.5625 kB / 0.7793 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000525/0.6226, allocations: 285 kB / 0.7795 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6226, allocations: 9.031 kB / 0.7795 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6226, allocations: 3.984 kB / 0.7795 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.6226, allocations: 8.188 kB / 0.7795 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.6229, allocations: 35.98 kB / 0.7796 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6229, allocations: 4.5 kB / 0.7796 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.6231, allocations: 31.67 kB / 0.7796 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.6231, allocations: 8 kB / 0.7796 GB, free: 15.04 MB / 0.6075 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.0001265/0.6232, allocations: 161.7 kB / 0.7798 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.874e-05/0.6233, allocations: 31.62 kB / 0.7798 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.624, allocations: 316.2 kB / 0.7801 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.624, allocations: 4 kB / 0.7801 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.624, allocations: 0 / 0.7801 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.624, allocations: 0 / 0.7801 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.6252, allocations: 0.8044 MB / 0.7809 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6252, allocations: 4 kB / 0.7809 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.6254, allocations: 40.62 kB / 0.7809 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.6254, allocations: 8 kB / 0.7809 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6254, allocations: 11.94 kB / 0.781 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6254, allocations: 4 kB / 0.781 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6254, allocations: 5.281 kB / 0.781 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.6259, allocations: 389.1 kB / 0.7813 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.6261, allocations: 140.7 kB / 0.7815 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.6261, allocations: 7.875 kB / 0.7815 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.6264, allocations: 19.8 kB / 0.7815 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.6264, allocations: 23.92 kB / 0.7815 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.6265, allocations: 8 kB / 0.7815 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001836/0.6267, allocations: 227 kB / 0.7817 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6267, allocations: 0 / 0.7817 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004229/0.6271, allocations: 119.8 kB / 0.7819 GB, free: 12.61 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.001123/0.6282, allocations: 1.059 MB / 0.7829 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.6287, allocations: 223.9 kB / 0.7831 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6287, allocations: 8.125 kB / 0.7831 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.6289, allocations: 115.8 kB / 0.7832 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/0.6297, allocations: 157 kB / 0.7834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.6331, allocations: 3.071 MB / 0.7864 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.6335, allocations: 0.7911 MB / 0.7871 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.6338, allocations: 94.08 kB / 0.7872 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.6339, allocations: 103.4 kB / 0.7873 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.6339, allocations: 3.938 kB / 0.7873 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7565/1.39, allocations: 10.48 MB / 0.7976 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.63, allocations: 11.52 kB / 0.7976 GB, free: 12.52 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)