Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_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.0009399/0.00094, allocations: 91.84 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.00544/0.00544, allocations: 169.9 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.469/1.469, 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.809/1.809, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005044/0.0005044, allocations: 15.66 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.644/0.8864, allocations: 165 MB / 0.9492 GB, free: 288 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008172/0.8946, allocations: 7.1 MB / 0.9561 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.8952, allocations: 10.44 kB / 0.9561 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.8957, allocations: 140.5 kB / 0.9562 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.8984, allocations: 1.186 MB / 0.9574 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.9, allocations: 0.568 MB / 0.9579 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.9011, allocations: 1.057 MB / 0.959 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.9015, allocations: 250.7 kB / 0.9592 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.9026, allocations: 0.5238 MB / 0.9597 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007585/0.9034, allocations: 420 kB / 0.9601 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.9035, allocations: 16.97 kB / 0.9601 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.9059, allocations: 1.465 MB / 0.9616 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.906, allocations: 107.1 kB / 0.9617 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.9062, allocations: 184.5 kB / 0.9619 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.9075, allocations: 0.9842 MB / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9075, allocations: 0 / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9075, allocations: 1.375 kB / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.9076, allocations: 0 / 0.9628 GB, free: 14.93 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009164/0.9085, allocations: 0.6218 MB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.9085, allocations: 13.53 kB / 0.9634 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.946e-05/0.9086, allocations: 64.64 kB / 0.9635 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009724/0.9096, allocations: 133 kB / 0.9636 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.91, allocations: 327.4 kB / 0.9639 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.9101, allocations: 46.77 kB / 0.964 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.9101, allocations: 26.33 kB / 0.964 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.9108, allocations: 382.1 kB / 0.9644 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9108, allocations: 0.7188 kB / 0.9644 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.9109, allocations: 10.19 kB / 0.9644 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.9109, allocations: 6.625 kB / 0.9644 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.9114, allocations: 287.4 kB / 0.9647 GB, free: 14.01 MB / 0.7325 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.002098/0.9135, allocations: 1.509 MB / 0.9661 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.914, allocations: 202.6 kB / 0.9663 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.9142, allocations: 123 kB / 0.9664 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.9153, allocations: 0.515 MB / 0.9669 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.9153, allocations: 36.72 kB / 0.967 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.9153, allocations: 0 / 0.967 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009299/0.9162, allocations: 378.1 kB / 0.9673 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.9163, allocations: 54.55 kB / 0.9674 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.9166, allocations: 311.6 kB / 0.9677 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.9167, allocations: 30.11 kB / 0.9677 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.9168, allocations: 184.2 kB / 0.9679 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.9168, allocations: 57.89 kB / 0.968 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.9169, allocations: 20.16 kB / 0.968 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.917, allocations: 344.1 kB / 0.9683 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.9172, allocations: 90.53 kB / 0.9684 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.9174, allocations: 158 kB / 0.9685 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.9179, allocations: 251.1 kB / 0.9688 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9179, allocations: 0 / 0.9688 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005955/0.9185, allocations: 286.9 kB / 0.9691 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.9185, allocations: 7.734 kB / 0.9691 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.9185, allocations: 2.031 kB / 0.9691 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.9185, allocations: 2.188 kB / 0.9691 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.9188, allocations: 42.8 kB / 0.9691 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9188, allocations: 5.062 kB / 0.9691 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.9191, allocations: 47.48 kB / 0.9692 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.9191, allocations: 12.34 kB / 0.9692 GB, free: 11.51 MB / 0.7325 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.0001525/0.9193, allocations: 154.6 kB / 0.9693 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.9194, allocations: 30.31 kB / 0.9693 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/0.9201, allocations: 329.8 kB / 0.9697 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9201, allocations: 1.344 kB / 0.9697 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9201, allocations: 0 / 0.9697 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9201, allocations: 1.281 kB / 0.9697 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.9214, allocations: 0.82 MB / 0.9705 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.9215, allocations: 4.5 kB / 0.9705 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.9216, allocations: 38.27 kB / 0.9705 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.9217, allocations: 6.688 kB / 0.9705 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.9217, allocations: 7.688 kB / 0.9705 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.9217, allocations: 2.75 kB / 0.9705 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9217, allocations: 5.594 kB / 0.9705 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.9223, allocations: 412.2 kB / 0.9709 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.9224, allocations: 136 kB / 0.971 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.9225, allocations: 6.688 kB / 0.9711 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.9227, allocations: 35.88 kB / 0.9711 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.9228, allocations: 19.92 kB / 0.9711 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.9228, allocations: 8.25 kB / 0.9711 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002027/0.9231, allocations: 226.4 kB / 0.9713 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9231, allocations: 0 / 0.9713 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005374/0.9236, allocations: 123.6 kB / 0.9714 GB, free: 10.44 MB / 0.7325 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.00129/0.9249, allocations: 1.07 MB / 0.9725 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004882/0.9254, allocations: 225.4 kB / 0.9727 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9254, allocations: 0.7812 kB / 0.9727 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.9257, allocations: 126 kB / 0.9728 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/0.9266, allocations: 153.8 kB / 0.973 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.9306, allocations: 3.21 MB / 0.9761 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.9309, allocations: 0.7923 MB / 0.9769 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.9313, allocations: 90.41 kB / 0.977 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.9314, allocations: 102.5 kB / 0.9771 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.9314, allocations: 3.938 kB / 0.9771 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.9548, allocations: 9.878 MB / 0.9867 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.955, allocations: 231.6 kB / 0.9869 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.863, allocations: 0 / 0.9869 GB, free: 1.594 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)