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.001637/0.001637, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002097/0.002098, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.395/1.395, allocations: 205.1 MB / 222 MB, free: 4.754 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.759/1.759, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001742/0.001742, allocations: 69.28 kB / 0.6709 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2299, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6017/0.8316, allocations: 167.2 MB / 0.9461 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007091/0.8387, allocations: 7.202 MB / 0.9531 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/0.8393, allocations: 11.88 kB / 0.9531 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.8399, allocations: 131.2 kB / 0.9532 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.8432, allocations: 1.197 MB / 0.9544 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.8451, allocations: 0.5714 MB / 0.955 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.8469, allocations: 1.051 MB / 0.956 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.8475, allocations: 246.8 kB / 0.9562 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.8492, allocations: 0.5296 MB / 0.9567 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.8502, allocations: 424.9 kB / 0.9572 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.8503, allocations: 17.34 kB / 0.9572 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.8539, allocations: 1.471 MB / 0.9586 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.8541, allocations: 111 kB / 0.9587 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.8545, allocations: 173.1 kB / 0.9589 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.8573, allocations: 0.9771 MB / 0.9598 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8573, allocations: 2.125 kB / 0.9598 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8573, allocations: 4 kB / 0.9598 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.8574, allocations: 0 / 0.9598 GB, free: 5.281 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.001393/0.8588, allocations: 0.6924 MB / 0.9605 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.8588, allocations: 12.92 kB / 0.9605 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.927e-05/0.8589, allocations: 57.23 kB / 0.9606 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.8601, allocations: 132.8 kB / 0.9607 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.8605, allocations: 330 kB / 0.961 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.8607, allocations: 57.36 kB / 0.9611 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.8607, allocations: 29.16 kB / 0.9611 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.8615, allocations: 364.1 kB / 0.9614 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.8615, allocations: 1.125 kB / 0.9615 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.8616, allocations: 13.34 kB / 0.9615 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.8616, allocations: 10.88 kB / 0.9615 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.8622, allocations: 274.7 kB / 0.9617 GB, free: 20.36 MB / 0.7481 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.001829/0.864, allocations: 1.496 MB / 0.9632 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.8644, allocations: 193.8 kB / 0.9634 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.8646, allocations: 116.1 kB / 0.9635 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.8658, allocations: 0.5059 MB / 0.964 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.8658, allocations: 36.91 kB / 0.964 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.8658, allocations: 0 / 0.964 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.001003/0.8668, allocations: 353.9 kB / 0.9644 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.8669, allocations: 53.94 kB / 0.9644 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.8672, allocations: 324.1 kB / 0.9647 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.8672, allocations: 27.17 kB / 0.9647 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.8674, allocations: 189.5 kB / 0.9649 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.8674, allocations: 48.72 kB / 0.965 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.829e-05/0.8675, allocations: 40.34 kB / 0.965 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8676, allocations: 338.7 kB / 0.9653 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.8679, allocations: 87.83 kB / 0.9654 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.8681, allocations: 151.4 kB / 0.9656 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.8685, allocations: 243.2 kB / 0.9658 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8685, allocations: 0 / 0.9658 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006138/0.8691, allocations: 284.6 kB / 0.9661 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.8692, allocations: 9.531 kB / 0.9661 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8692, allocations: 2.656 kB / 0.9661 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.8692, allocations: 2.375 kB / 0.9661 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.8695, allocations: 41.23 kB / 0.9661 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8695, allocations: 5.109 kB / 0.9661 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.8698, allocations: 39.16 kB / 0.9662 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.8698, allocations: 12.86 kB / 0.9662 GB, free: 17.9 MB / 0.7481 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.0001696/0.87, allocations: 158.8 kB / 0.9663 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.8701, allocations: 26.28 kB / 0.9663 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007425/0.8709, allocations: 315.2 kB / 0.9667 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.8709, allocations: 5.453 kB / 0.9667 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8709, allocations: 4 kB / 0.9667 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8709, allocations: 0 / 0.9667 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.8723, allocations: 0.8065 MB / 0.9674 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8723, allocations: 1.375 kB / 0.9674 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.8725, allocations: 37.42 kB / 0.9675 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.8725, allocations: 2.969 kB / 0.9675 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.8725, allocations: 14.19 kB / 0.9675 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8725, allocations: 2.531 kB / 0.9675 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.8725, allocations: 5.75 kB / 0.9675 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.8732, allocations: 407.1 kB / 0.9679 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.8734, allocations: 131.8 kB / 0.968 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.8734, allocations: 8.422 kB / 0.968 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.8737, allocations: 22.7 kB / 0.9681 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.8738, allocations: 16.66 kB / 0.9681 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.8738, allocations: 8.969 kB / 0.9681 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002318/0.8741, allocations: 232.5 kB / 0.9683 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8741, allocations: 4.406 kB / 0.9683 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006685/0.8747, allocations: 123.1 kB / 0.9684 GB, free: 16.92 MB / 0.7481 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.001366/0.8761, allocations: 1.055 MB / 0.9694 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.8767, allocations: 219.3 kB / 0.9697 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8767, allocations: 0.9062 kB / 0.9697 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.8769, allocations: 119 kB / 0.9698 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.8778, allocations: 160.7 kB / 0.9699 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.8819, allocations: 3.159 MB / 0.973 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.8823, allocations: 0.79 MB / 0.9738 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003924/0.8827, allocations: 80.75 kB / 0.9739 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.8828, allocations: 99.84 kB / 0.974 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.8828, allocations: 0 / 0.974 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.9067, allocations: 10.03 MB / 0.9837 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.907, allocations: 235.3 kB / 0.984 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.869, allocations: 0 / 0.984 GB, free: 12.58 MB / 0.7481 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)