Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 182.8 kB / 325.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.000873, allocations: 90.95 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 13.72 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1694, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.178/0.3475, allocations: 160.8 MB / 1.053 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3634/0.7109, allocations: 4.667 MB / 1.058 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.7112, allocations: 8.344 kB / 1.058 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.7117, allocations: 99.33 kB / 1.058 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.7131, allocations: 0.5083 MB / 1.058 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.7149, allocations: 0.7093 MB / 1.059 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007723/0.7157, allocations: 0.8028 MB / 1.06 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.716, allocations: 173.3 kB / 1.06 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000906/0.7169, allocations: 428.2 kB / 1.06 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.7175, allocations: 284.5 kB / 1.061 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.7175, allocations: 11.12 kB / 1.061 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.7193, allocations: 1.158 MB / 1.062 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.7194, allocations: 89 kB / 1.062 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.7195, allocations: 111.5 kB / 1.062 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.7205, allocations: 0.769 MB / 1.063 GB, free: 1.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7205, allocations: 0 / 1.063 GB, free: 1.715 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7206, allocations: 0 / 1.063 GB, free: 1.715 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7206, allocations: 0 / 1.063 GB, free: 1.715 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008655/0.7214, allocations: 0.549 MB / 1.063 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7215, allocations: 11.88 kB / 1.063 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.7215, allocations: 50.83 kB / 1.063 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.7221, allocations: 80.3 kB / 1.063 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.7225, allocations: 281.4 kB / 1.064 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.7225, allocations: 12.06 kB / 1.064 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.7226, allocations: 19.64 kB / 1.064 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.723, allocations: 294.5 kB / 1.064 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.723, allocations: 0 / 1.064 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.723, allocations: 10.53 kB / 1.064 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.723, allocations: 2.906 kB / 1.064 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.7235, allocations: 216.1 kB / 1.064 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.725, allocations: 1.252 MB / 1.065 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.7253, allocations: 182.1 kB / 1.066 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.7255, allocations: 117.1 kB / 1.066 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.7263, allocations: 346.6 kB / 1.066 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.7263, allocations: 40.12 kB / 1.066 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.7264, allocations: 0.75 kB / 1.066 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0007624/0.7271, allocations: 299.8 kB / 1.066 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.7272, allocations: 161.4 kB / 1.067 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.7275, allocations: 283 kB / 1.067 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7275, allocations: 31.03 kB / 1.067 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.7276, allocations: 146 kB / 1.067 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.7277, allocations: 51.7 kB / 1.067 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.7277, allocations: 22.47 kB / 1.067 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7278, allocations: 335.1 kB / 1.067 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.728, allocations: 77.28 kB / 1.067 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.7283, allocations: 139 kB / 1.068 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.7287, allocations: 225.4 kB / 1.068 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7287, allocations: 1.5 kB / 1.068 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005272/0.7292, allocations: 257.5 kB / 1.068 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7292, allocations: 6.062 kB / 1.068 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7292, allocations: 2.25 kB / 1.068 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7293, allocations: 3.234 kB / 1.068 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.7294, allocations: 44.17 kB / 1.068 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7295, allocations: 3.531 kB / 1.068 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.7297, allocations: 37.81 kB / 1.068 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.7297, allocations: 10.06 kB / 1.068 GB, free: 14.49 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001419/0.7298, allocations: 149.2 kB / 1.068 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.73, allocations: 28.64 kB / 1.068 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.7305, allocations: 207.4 kB / 1.069 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7305, allocations: 6.812 kB / 1.069 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7305, allocations: 2.531 kB / 1.069 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.7305, allocations: 4.219 kB / 1.069 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.7315, allocations: 0.8587 MB / 1.069 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7315, allocations: 5.625 kB / 1.069 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.7317, allocations: 25.08 kB / 1.069 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7317, allocations: 2.125 kB / 1.069 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.7317, allocations: 13.7 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7317, allocations: 5.484 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7317, allocations: 2.094 kB / 1.069 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.7323, allocations: 351.5 kB / 1.07 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.7324, allocations: 111.8 kB / 1.07 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.7324, allocations: 7.188 kB / 1.07 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.7326, allocations: 19.34 kB / 1.07 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.7326, allocations: 11.48 kB / 1.07 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.7326, allocations: 5.391 kB / 1.07 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002453/0.7329, allocations: 229.2 kB / 1.07 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7329, allocations: 0.75 kB / 1.07 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004861/0.7334, allocations: 97.55 kB / 1.07 GB, free: 13.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001189/0.7346, allocations: 1.005 MB / 1.071 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.735, allocations: 159.3 kB / 1.071 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.735, allocations: 0.7188 kB / 1.071 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.7352, allocations: 72.11 kB / 1.071 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.7359, allocations: 125.1 kB / 1.072 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.7393, allocations: 2.835 MB / 1.074 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.7396, allocations: 0.7603 MB / 1.075 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.7398, allocations: 67.59 kB / 1.075 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.7399, allocations: 69.69 kB / 1.075 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7399, allocations: 0 / 1.075 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2397/0.9796, allocations: 7.98 MB / 1.083 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.9798, allocations: 250.4 kB / 1.083 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.264, allocations: 0 / 1.083 GB, free: 9.277 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)