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.0007846/0.0007846, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008685/0.0008689, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.698/1.698, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005231/0.0005231, allocations: 16.5 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9173/1.197, allocations: 154 MB / 0.9377 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009778/1.206, allocations: 6.639 MB / 0.9442 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006996/1.207, allocations: 10.62 kB / 0.9442 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006233/1.208, allocations: 117.4 kB / 0.9444 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/1.211, allocations: 0.8331 MB / 0.9452 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/1.213, allocations: 486.1 kB / 0.9456 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001319/1.214, allocations: 0.895 MB / 0.9465 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/1.215, allocations: 221.7 kB / 0.9467 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/1.216, allocations: 478 kB / 0.9472 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/1.217, allocations: 398.5 kB / 0.9475 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/1.217, allocations: 15.47 kB / 0.9476 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/1.22, allocations: 0.6308 MB / 0.9482 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/1.22, allocations: 104.6 kB / 0.9483 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/1.221, allocations: 88.7 kB / 0.9484 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/1.222, allocations: 0.518 MB / 0.9489 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.222, allocations: 0 / 0.9489 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.878e-06/1.222, allocations: 2.719 kB / 0.9489 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.538e-06/1.222, allocations: 4 kB / 0.9489 GB, free: 20.94 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.00136/1.223, allocations: 0.636 MB / 0.9495 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.224, allocations: 9.5 kB / 0.9495 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/1.224, allocations: 67.36 kB / 0.9496 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.225, allocations: 127.3 kB / 0.9497 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/1.225, allocations: 312.6 kB / 0.95 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.225, allocations: 55.98 kB / 0.95 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/1.225, allocations: 24.44 kB / 0.9501 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/1.226, allocations: 374 kB / 0.9504 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.226, allocations: 3.953 kB / 0.9504 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/1.226, allocations: 16.45 kB / 0.9504 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.226, allocations: 7.375 kB / 0.9505 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/1.227, allocations: 281 kB / 0.9507 GB, free: 20.02 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.002096/1.229, allocations: 1.495 MB / 0.9522 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/1.229, allocations: 207.8 kB / 0.9524 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/1.23, allocations: 123.3 kB / 0.9525 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.231, allocations: 0.5152 MB / 0.953 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/1.231, allocations: 32.97 kB / 0.953 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/1.231, allocations: 0 / 0.953 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001182/1.232, allocations: 374.9 kB / 0.9534 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/1.232, allocations: 52.84 kB / 0.9534 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/1.233, allocations: 316.7 kB / 0.9537 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.233, allocations: 30.42 kB / 0.9538 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/1.233, allocations: 190.6 kB / 0.9539 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/1.233, allocations: 51.62 kB / 0.954 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/1.233, allocations: 4.188 kB / 0.954 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.233, allocations: 346.1 kB / 0.9543 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/1.233, allocations: 93.2 kB / 0.9544 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/1.234, allocations: 146.7 kB / 0.9546 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/1.234, allocations: 106 kB / 0.9547 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.234, allocations: 1.125 kB / 0.9547 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006865/1.234, allocations: 297.5 kB / 0.9549 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.235, allocations: 6.156 kB / 0.955 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.235, allocations: 2.125 kB / 0.955 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/1.235, allocations: 2.156 kB / 0.955 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/1.235, allocations: 44 kB / 0.955 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.235, allocations: 7.125 kB / 0.955 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/1.235, allocations: 51.27 kB / 0.9551 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/1.235, allocations: 8.875 kB / 0.9551 GB, free: 17.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000227/1.235, allocations: 149.5 kB / 0.9552 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/1.236, allocations: 29.31 kB / 0.9552 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/1.236, allocations: 321.8 kB / 0.9555 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.236, allocations: 1.375 kB / 0.9555 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.236, allocations: 0 / 0.9555 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.236, allocations: 4.156 kB / 0.9555 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/1.238, allocations: 0.8213 MB / 0.9563 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.238, allocations: 1.781 kB / 0.9563 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/1.238, allocations: 39.69 kB / 0.9564 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/1.238, allocations: 7.859 kB / 0.9564 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.238, allocations: 11.08 kB / 0.9564 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.238, allocations: 10.23 kB / 0.9564 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.238, allocations: 6.219 kB / 0.9564 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/1.239, allocations: 407 kB / 0.9568 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/1.239, allocations: 134.2 kB / 0.9569 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/1.239, allocations: 10.42 kB / 0.9569 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/1.239, allocations: 29.03 kB / 0.957 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/1.24, allocations: 16.39 kB / 0.957 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/1.24, allocations: 11.94 kB / 0.957 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002744/1.24, allocations: 222.2 kB / 0.9572 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.24, allocations: 0 / 0.9572 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009193/1.241, allocations: 116.5 kB / 0.9573 GB, free: 16.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001505/1.242, allocations: 1.069 MB / 0.9584 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005938/1.243, allocations: 221.8 kB / 0.9586 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.243, allocations: 0 / 0.9586 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/1.243, allocations: 130.2 kB / 0.9587 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/1.244, allocations: 144.6 kB / 0.9588 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/1.248, allocations: 1.848 MB / 0.9606 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/1.248, allocations: 0.787 MB / 0.9614 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004021/1.248, allocations: 93.61 kB / 0.9615 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/1.249, allocations: 97.89 kB / 0.9616 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/1.249, allocations: 0 / 0.9616 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/1.275, allocations: 9.822 MB / 0.9712 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/1.275, allocations: 222.4 kB / 0.9714 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.283, allocations: 0 / 0.9714 GB, free: 11.45 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/linux/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) Environment - environmentSimulation: