Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.001098/0.001098, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009402/0.009402, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005711/0.0005712, allocations: 13.34 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2137, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6509/0.8646, allocations: 158.9 MB / 0.9432 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004891/0.8695, allocations: 4.567 MB / 0.9476 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.8698, allocations: 9.406 kB / 0.9476 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.8702, allocations: 94.86 kB / 0.9477 GB, free: 280 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.8715, allocations: 0.513 MB / 0.9482 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.8731, allocations: 0.718 MB / 0.9489 GB, free: 60 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009213/0.874, allocations: 0.8124 MB / 0.9497 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.8744, allocations: 175.2 kB / 0.9499 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009347/0.8753, allocations: 430 kB / 0.9503 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.8759, allocations: 285.2 kB / 0.9506 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.8759, allocations: 10.41 kB / 0.9506 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.8782, allocations: 1.158 MB / 0.9517 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.8784, allocations: 83.73 kB / 0.9518 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.8786, allocations: 143.9 kB / 0.9519 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.8798, allocations: 0.7725 MB / 0.9527 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.8798, allocations: 1.125 kB / 0.9527 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8798, allocations: 0 / 0.9527 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8798, allocations: 0 / 0.9527 GB, free: 15.7 MB / 0.7325 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.0009231/0.8807, allocations: 0.5507 MB / 0.9532 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.8808, allocations: 9.594 kB / 0.9532 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.079e-05/0.8809, allocations: 52.28 kB / 0.9533 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.8817, allocations: 77.89 kB / 0.9534 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.8821, allocations: 289.5 kB / 0.9536 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.8822, allocations: 16.62 kB / 0.9537 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.8822, allocations: 18.36 kB / 0.9537 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.8828, allocations: 292.8 kB / 0.9539 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8828, allocations: 1.031 kB / 0.9539 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.8828, allocations: 8.75 kB / 0.954 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.8828, allocations: 9.594 kB / 0.954 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.8833, allocations: 215.3 kB / 0.9542 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.8849, allocations: 1.251 MB / 0.9554 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.8852, allocations: 178.1 kB / 0.9556 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.8854, allocations: 122.3 kB / 0.9557 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007954/0.8862, allocations: 349.8 kB / 0.956 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.8863, allocations: 38.53 kB / 0.9561 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.8863, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007985/0.8871, allocations: 296.3 kB / 0.9563 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.8872, allocations: 156.3 kB / 0.9565 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.8875, allocations: 292.3 kB / 0.9568 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.8875, allocations: 27.64 kB / 0.9568 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.8877, allocations: 158.8 kB / 0.9569 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.8877, allocations: 45.52 kB / 0.957 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.8878, allocations: 22.19 kB / 0.957 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8879, allocations: 338 kB / 0.9573 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.8881, allocations: 76.75 kB / 0.9574 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.8883, allocations: 151.2 kB / 0.9575 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.8887, allocations: 223.1 kB / 0.9578 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8887, allocations: 0 / 0.9578 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000516/0.8892, allocations: 254.3 kB / 0.958 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8893, allocations: 5.719 kB / 0.958 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8893, allocations: 2.031 kB / 0.958 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8893, allocations: 3.844 kB / 0.958 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.8895, allocations: 42.36 kB / 0.958 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8895, allocations: 6.562 kB / 0.9581 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.8897, allocations: 34.36 kB / 0.9581 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.8898, allocations: 17.56 kB / 0.9581 GB, free: 12.38 MB / 0.7325 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.0001362/0.8899, allocations: 147.9 kB / 0.9582 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.8901, allocations: 26.72 kB / 0.9583 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.8906, allocations: 200.7 kB / 0.9585 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8906, allocations: 4.531 kB / 0.9585 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8906, allocations: 1.906 kB / 0.9585 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8906, allocations: 1.406 kB / 0.9585 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009295/0.8915, allocations: 0.8602 MB / 0.9593 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8916, allocations: 3.656 kB / 0.9593 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.8917, allocations: 30.48 kB / 0.9593 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.8917, allocations: 6.281 kB / 0.9593 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.8917, allocations: 10.28 kB / 0.9594 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.8917, allocations: 1.125 kB / 0.9594 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8917, allocations: 2.062 kB / 0.9594 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.8923, allocations: 357.7 kB / 0.9597 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.8924, allocations: 126.5 kB / 0.9598 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.8925, allocations: 8.359 kB / 0.9598 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.8927, allocations: 15.16 kB / 0.9598 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.8927, allocations: 13.08 kB / 0.9599 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.8927, allocations: 4.688 kB / 0.9599 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002362/0.893, allocations: 235.5 kB / 0.9601 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.893, allocations: 1.562 kB / 0.9601 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005397/0.8935, allocations: 94.27 kB / 0.9602 GB, free: 11.1 MB / 0.7325 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.001295/0.8948, allocations: 1 MB / 0.9612 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.8953, allocations: 157.5 kB / 0.9613 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8953, allocations: 0 / 0.9613 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.8954, allocations: 65.94 kB / 0.9614 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00088/0.8963, allocations: 143.8 kB / 0.9615 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.9001, allocations: 2.883 MB / 0.9643 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.9005, allocations: 0.7661 MB / 0.9651 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.9008, allocations: 55.98 kB / 0.9651 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.9009, allocations: 73.12 kB / 0.9652 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of SimCode: time 1.863e-06/0.9009, allocations: 0 / 0.9652 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.9232, allocations: 8.087 MB / 0.9731 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.9235, allocations: 240.9 kB / 0.9733 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.91, allocations: 0 / 0.9733 GB, free: 4.582 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)