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.001197/0.001197, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001188/0.001188, allocations: 186.7 kB / 16.25 MB, free: 6.633 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.41/1.41, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.688/1.688, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001491/0.001491, allocations: 67.03 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2204, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6598/0.8803, allocations: 167.2 MB / 0.9462 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008242/0.8886, allocations: 7.087 MB / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.8893, allocations: 13.53 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.8901, allocations: 142.9 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.8943, allocations: 1.186 MB / 0.9544 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.8967, allocations: 0.5759 MB / 0.955 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.8981, allocations: 0.7685 MB / 0.9558 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000554/0.8986, allocations: 279.5 kB / 0.956 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.9002, allocations: 0.5673 MB / 0.9566 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.9013, allocations: 433.2 kB / 0.957 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.9014, allocations: 25.91 kB / 0.957 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.9043, allocations: 1.312 MB / 0.9583 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.9045, allocations: 125.6 kB / 0.9584 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.9049, allocations: 180 kB / 0.9586 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.9073, allocations: 0.9776 MB / 0.9595 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9073, allocations: 1.688 kB / 0.9595 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9073, allocations: 0 / 0.9595 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.9073, allocations: 0.5938 kB / 0.9595 GB, free: 5.629 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.001589/0.9089, allocations: 0.6953 MB / 0.9602 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.909, allocations: 13.94 kB / 0.9602 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.9091, allocations: 63.06 kB / 0.9603 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.9102, allocations: 127.6 kB / 0.9604 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.9106, allocations: 330.1 kB / 0.9607 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/0.9107, allocations: 51.08 kB / 0.9608 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.9108, allocations: 29.61 kB / 0.9608 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.9115, allocations: 369.6 kB / 0.9612 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.9115, allocations: 3 kB / 0.9612 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.9115, allocations: 9.219 kB / 0.9612 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.9115, allocations: 7.25 kB / 0.9612 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.9121, allocations: 273.5 kB / 0.9614 GB, free: 20.71 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.001836/0.9139, allocations: 1.497 MB / 0.9629 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.9143, allocations: 197.5 kB / 0.9631 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.9146, allocations: 114.4 kB / 0.9632 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.9157, allocations: 0.5063 MB / 0.9637 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.9157, allocations: 31.5 kB / 0.9637 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.9158, allocations: 0 / 0.9637 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0009712/0.9167, allocations: 359.7 kB / 0.9641 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.9168, allocations: 52.72 kB / 0.9641 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.9171, allocations: 315.8 kB / 0.9644 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.9171, allocations: 30.45 kB / 0.9645 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.9173, allocations: 183.4 kB / 0.9646 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.9173, allocations: 50.97 kB / 0.9647 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.9174, allocations: 45.64 kB / 0.9647 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9175, allocations: 341.6 kB / 0.965 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.9177, allocations: 84.39 kB / 0.9651 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.918, allocations: 145.6 kB / 0.9653 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.9184, allocations: 240.9 kB / 0.9655 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9184, allocations: 2.031 kB / 0.9655 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005791/0.919, allocations: 289.8 kB / 0.9658 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.919, allocations: 6.5 kB / 0.9658 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.919, allocations: 1.203 kB / 0.9658 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.919, allocations: 6.391 kB / 0.9658 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.9193, allocations: 45.14 kB / 0.9658 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9193, allocations: 2.594 kB / 0.9658 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.9196, allocations: 48.44 kB / 0.9659 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.9197, allocations: 11.61 kB / 0.9659 GB, free: 18.25 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.0001719/0.9199, allocations: 153.3 kB / 0.966 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.92, allocations: 25.81 kB / 0.9661 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.9208, allocations: 325 kB / 0.9664 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9208, allocations: 1.094 kB / 0.9664 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9208, allocations: 0.9375 kB / 0.9664 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.9208, allocations: 2.812 kB / 0.9664 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.9222, allocations: 0.8105 MB / 0.9672 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9222, allocations: 2.625 kB / 0.9672 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.9224, allocations: 35.38 kB / 0.9672 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.9224, allocations: 2.344 kB / 0.9672 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.9224, allocations: 15.16 kB / 0.9672 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9225, allocations: 2.656 kB / 0.9672 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9225, allocations: 2.281 kB / 0.9672 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.923, allocations: 409 kB / 0.9676 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.9232, allocations: 134.2 kB / 0.9677 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.9233, allocations: 8.391 kB / 0.9677 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.9235, allocations: 25.64 kB / 0.9678 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.9236, allocations: 14.34 kB / 0.9678 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.9236, allocations: 10.86 kB / 0.9678 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000228/0.9239, allocations: 229.4 kB / 0.968 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9239, allocations: 0 / 0.968 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007016/0.9246, allocations: 119.2 kB / 0.9681 GB, free: 17.26 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.001435/0.926, allocations: 1.052 MB / 0.9692 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005522/0.9266, allocations: 227.6 kB / 0.9694 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9266, allocations: 1.5 kB / 0.9694 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.9269, allocations: 119.2 kB / 0.9695 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/0.9279, allocations: 158.5 kB / 0.9696 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.9323, allocations: 3.157 MB / 0.9727 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.9327, allocations: 0.7862 MB / 0.9735 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004068/0.9332, allocations: 86.69 kB / 0.9736 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.9333, allocations: 98.41 kB / 0.9737 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/0.9333, allocations: 4 kB / 0.9737 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.9602, allocations: 10.26 MB / 0.9837 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.9606, allocations: 241.8 kB / 0.9839 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.943, allocations: 5.094 kB / 0.9839 GB, free: 12.91 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)