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.001401/0.001401, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 186.4 kB / 16.62 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.392/1.392, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.704/1.704, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002611/0.002612, allocations: 73.36 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2708, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.681/0.9519, allocations: 169.4 MB / 0.9491 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009095/0.9611, allocations: 7.125 MB / 0.9561 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006429/0.9618, allocations: 11.5 kB / 0.9561 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.9624, allocations: 185.8 kB / 0.9562 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.9658, allocations: 1.259 MB / 0.9575 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.9677, allocations: 0.6315 MB / 0.9581 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009788/0.9686, allocations: 0.7598 MB / 0.9588 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/0.9691, allocations: 290.8 kB / 0.9591 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.9702, allocations: 0.5628 MB / 0.9597 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008125/0.9711, allocations: 428.9 kB / 0.9601 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.9711, allocations: 25.84 kB / 0.9601 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.9735, allocations: 1.243 MB / 0.9613 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.9737, allocations: 116.6 kB / 0.9614 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.9739, allocations: 178.2 kB / 0.9616 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.9755, allocations: 0.9141 MB / 0.9625 GB, free: 136 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9755, allocations: 0 / 0.9625 GB, free: 136 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9755, allocations: 0 / 0.9625 GB, free: 136 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.9755, allocations: 0 / 0.9625 GB, free: 136 kB / 0.7169 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.0009751/0.9765, allocations: 0.6934 MB / 0.9632 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.9766, allocations: 9.656 kB / 0.9632 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.9766, allocations: 63.86 kB / 0.9632 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.9776, allocations: 130.4 kB / 0.9633 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.9781, allocations: 342.2 kB / 0.9637 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.9782, allocations: 51.08 kB / 0.9637 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.9782, allocations: 29.31 kB / 0.9638 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.9788, allocations: 372.2 kB / 0.9641 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9789, allocations: 5.578 kB / 0.9641 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.9789, allocations: 9 kB / 0.9641 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.9789, allocations: 6.969 kB / 0.9641 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.9794, allocations: 280 kB / 0.9644 GB, free: 15.19 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.001765/0.9812, allocations: 1.495 MB / 0.9659 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.9816, allocations: 193 kB / 0.966 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.9818, allocations: 116.4 kB / 0.9661 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009492/0.9827, allocations: 0.5036 MB / 0.9666 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.9828, allocations: 32 kB / 0.9667 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.836e-06/0.9828, allocations: 1.25 kB / 0.9667 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009315/0.9837, allocations: 353.7 kB / 0.967 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.9838, allocations: 60.05 kB / 0.9671 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.9841, allocations: 316.3 kB / 0.9674 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.9841, allocations: 31.55 kB / 0.9674 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.9843, allocations: 182.5 kB / 0.9676 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.9843, allocations: 52 kB / 0.9676 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.9844, allocations: 46.45 kB / 0.9677 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9845, allocations: 338 kB / 0.968 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.9847, allocations: 90.42 kB / 0.9681 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.985, allocations: 147 kB / 0.9682 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.9854, allocations: 240 kB / 0.9684 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9854, allocations: 0 / 0.9684 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005588/0.9859, allocations: 287.1 kB / 0.9687 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.986, allocations: 5.656 kB / 0.9687 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.986, allocations: 2.031 kB / 0.9687 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.986, allocations: 2.344 kB / 0.9687 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.9862, allocations: 46.94 kB / 0.9688 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.9863, allocations: 2.281 kB / 0.9688 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.9865, allocations: 33.25 kB / 0.9688 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.9865, allocations: 11.52 kB / 0.9688 GB, free: 12.7 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.0001513/0.9867, allocations: 158.1 kB / 0.969 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.9868, allocations: 29.25 kB / 0.969 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.9875, allocations: 312.9 kB / 0.9693 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.9875, allocations: 2.391 kB / 0.9693 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9875, allocations: 3.984 kB / 0.9693 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.9875, allocations: 3.406 kB / 0.9693 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.9888, allocations: 0.8132 MB / 0.9701 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9888, allocations: 2.922 kB / 0.9701 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.9889, allocations: 35.2 kB / 0.9701 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.989, allocations: 4.703 kB / 0.9701 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.989, allocations: 11.84 kB / 0.9701 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.989, allocations: 3.312 kB / 0.9702 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.989, allocations: 1.938 kB / 0.9702 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.9896, allocations: 404.4 kB / 0.9705 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.9897, allocations: 133.3 kB / 0.9707 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.9898, allocations: 14.53 kB / 0.9707 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.99, allocations: 11.38 kB / 0.9707 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.9901, allocations: 19.98 kB / 0.9707 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.9901, allocations: 10.22 kB / 0.9707 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002029/0.9903, allocations: 226.9 kB / 0.9709 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9903, allocations: 0 / 0.9709 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005658/0.9909, allocations: 121.1 kB / 0.9711 GB, free: 11.68 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.9922, allocations: 1.053 MB / 0.9721 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.9927, allocations: 234.2 kB / 0.9723 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9927, allocations: 0 / 0.9723 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.9929, allocations: 111.5 kB / 0.9724 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.9938, allocations: 164.2 kB / 0.9726 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.9977, allocations: 3.041 MB / 0.9755 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.9981, allocations: 0.7835 MB / 0.9763 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.9984, allocations: 80.56 kB / 0.9764 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.9986, allocations: 103.2 kB / 0.9765 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of SimCode: time 1.263e-06/0.9986, allocations: 0 / 0.9765 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/1.027, allocations: 10.44 MB / 0.9867 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.678, allocations: 0.5938 kB / 0.9867 GB, free: 3.656 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)