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.435/1.435, allocations: 252 MB / 267.3 MB, free: 10.85 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.00112/0.001119, allocations: 169.9 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 0.578 GB, free: 20.06 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.0008931/0.0008931, allocations: 90.62 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003901, allocations: 11.41 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7926/1.045, allocations: 159 MB / 1.056 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006248/1.052, allocations: 4.61 MB / 1.061 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/1.052, allocations: 8.5 kB / 1.061 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004937/1.053, allocations: 92.11 kB / 1.061 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/1.054, allocations: 0.5105 MB / 1.061 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/1.057, allocations: 0.7137 MB / 1.062 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001438/1.059, allocations: 0.803 MB / 1.063 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/1.059, allocations: 175.9 kB / 1.063 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/1.06, allocations: 423.9 kB / 1.063 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006811/1.061, allocations: 292.3 kB / 1.064 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/1.061, allocations: 8.656 kB / 1.064 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/1.063, allocations: 1.163 MB / 1.065 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/1.063, allocations: 84.22 kB / 1.065 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/1.064, allocations: 139.7 kB / 1.065 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/1.065, allocations: 0.7621 MB / 1.066 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.065, allocations: 0 / 1.066 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.445e-06/1.065, allocations: 1.859 kB / 1.066 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.065, allocations: 0 / 1.066 GB, free: 17.75 MB / 0.7136 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.0009995/1.066, allocations: 0.543 MB / 1.066 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.066, allocations: 12.75 kB / 1.066 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/1.067, allocations: 55.03 kB / 1.066 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/1.067, allocations: 81.05 kB / 1.066 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/1.068, allocations: 282.2 kB / 1.067 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/1.068, allocations: 16.22 kB / 1.067 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/1.068, allocations: 15.75 kB / 1.067 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/1.068, allocations: 291.2 kB / 1.067 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.068, allocations: 0 / 1.067 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.068, allocations: 6.844 kB / 1.067 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/1.068, allocations: 5.75 kB / 1.067 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/1.069, allocations: 220.8 kB / 1.067 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/1.071, allocations: 1.253 MB / 1.068 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/1.071, allocations: 179 kB / 1.069 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/1.071, allocations: 117.3 kB / 1.069 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009577/1.072, allocations: 349.1 kB / 1.069 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/1.072, allocations: 33.64 kB / 1.069 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 3.577e-06/1.072, allocations: 2.906 kB / 1.069 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0008955/1.073, allocations: 294.4 kB / 1.069 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/1.073, allocations: 164.1 kB / 1.07 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/1.074, allocations: 285.5 kB / 1.07 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/1.074, allocations: 30.48 kB / 1.07 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/1.074, allocations: 144.4 kB / 1.07 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/1.074, allocations: 51.25 kB / 1.07 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/1.074, allocations: 7.125 kB / 1.07 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.074, allocations: 336.1 kB / 1.07 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/1.074, allocations: 71.91 kB / 1.07 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/1.075, allocations: 145.5 kB / 1.071 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/1.075, allocations: 222 kB / 1.071 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.075, allocations: 1.125 kB / 1.071 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006255/1.076, allocations: 252.6 kB / 1.071 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.076, allocations: 5.406 kB / 1.071 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.076, allocations: 2.188 kB / 1.071 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.076, allocations: 3.062 kB / 1.071 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/1.076, allocations: 45.2 kB / 1.071 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.076, allocations: 8.719 kB / 1.071 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/1.076, allocations: 36.92 kB / 1.071 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/1.076, allocations: 9.578 kB / 1.071 GB, free: 14.54 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.000169/1.077, allocations: 151.5 kB / 1.071 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/1.077, allocations: 23.98 kB / 1.071 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/1.077, allocations: 198.4 kB / 1.071 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.077, allocations: 6.844 kB / 1.071 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.077, allocations: 2.656 kB / 1.071 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/1.077, allocations: 1.609 kB / 1.071 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.079, allocations: 0.8615 MB / 1.072 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.079, allocations: 3.078 kB / 1.072 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/1.079, allocations: 27.17 kB / 1.072 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/1.079, allocations: 4.938 kB / 1.072 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/1.079, allocations: 2.219 kB / 1.072 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/1.079, allocations: 6.781 kB / 1.072 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.079, allocations: 2.094 kB / 1.072 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/1.079, allocations: 360.9 kB / 1.073 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/1.08, allocations: 121.6 kB / 1.073 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/1.08, allocations: 3.969 kB / 1.073 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/1.08, allocations: 18.56 kB / 1.073 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.08, allocations: 11.12 kB / 1.073 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/1.08, allocations: 5.859 kB / 1.073 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003273/1.08, allocations: 233 kB / 1.073 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/1.08, allocations: 0 / 1.073 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007805/1.081, allocations: 102.8 kB / 1.073 GB, free: 13.29 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.001473/1.083, allocations: 1 MB / 1.074 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004754/1.083, allocations: 154 kB / 1.074 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.083, allocations: 4.062 kB / 1.074 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/1.083, allocations: 67.17 kB / 1.074 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/1.084, allocations: 131.5 kB / 1.074 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/1.089, allocations: 2.867 MB / 1.077 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/1.089, allocations: 0.7588 MB / 1.078 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003512/1.089, allocations: 68.72 kB / 1.078 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/1.09, allocations: 71.3 kB / 1.078 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of SimCode: time 1.332e-06/1.09, allocations: 3.5 kB / 1.078 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/1.113, allocations: 7.98 MB / 1.086 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.113, allocations: 244.7 kB / 1.086 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.313, allocations: 0 / 1.086 GB, free: 9.324 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)