Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.165/2.165, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 175.7 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.508/2.508, allocations: 205.4 MB / 0.5764 GB, free: 20.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 90.16 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004779, allocations: 14.88 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.413/6.626, allocations: 2.182 GB / 3.08 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/6.626, allocations: 89.02 kB / 3.081 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/8.157, allocations: 294.8 MB / 3.368 GB, free: 73.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.983e-06/8.157, allocations: 3.938 kB / 3.368 GB, free: 73.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.618e-05/8.157, allocations: 16 kB / 3.369 GB, free: 73.91 MB / 0.8855 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.001903/8.159, allocations: 0.7599 MB / 3.369 GB, free: 73.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/8.159, allocations: 8.031 kB / 3.369 GB, free: 73.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/8.159, allocations: 70.53 kB / 3.369 GB, free: 73.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/8.161, allocations: 119.5 kB / 3.369 GB, free: 72.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008135/8.162, allocations: 353.8 kB / 3.37 GB, free: 72.51 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/8.162, allocations: 46.27 kB / 3.37 GB, free: 72.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/8.162, allocations: 31.94 kB / 3.37 GB, free: 72.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/8.163, allocations: 320.7 kB / 3.37 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/8.163, allocations: 0 / 3.37 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/8.163, allocations: 12 kB / 3.37 GB, free: 72.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/8.163, allocations: 4 kB / 3.37 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/8.164, allocations: 294 kB / 3.37 GB, free: 71.81 MB / 0.8855 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.002217/8.166, allocations: 1.079 MB / 3.372 GB, free: 70.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/8.167, allocations: 259.1 kB / 3.372 GB, free: 70.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/8.168, allocations: 0.5016 MB / 3.372 GB, free: 69.78 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/8.168, allocations: 30.75 kB / 3.372 GB, free: 69.74 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/8.168, allocations: 0 / 3.372 GB, free: 69.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.001597/8.17, allocations: 421.3 kB / 3.373 GB, free: 69.33 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/8.17, allocations: 51.41 kB / 3.373 GB, free: 69.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/8.17, allocations: 275.7 kB / 3.373 GB, free: 68.99 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/8.17, allocations: 29.7 kB / 3.373 GB, free: 68.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/8.17, allocations: 176.3 kB / 3.373 GB, free: 68.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/8.17, allocations: 70.94 kB / 3.373 GB, free: 68.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/8.17, allocations: 4 kB / 3.373 GB, free: 68.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/8.17, allocations: 342.8 kB / 3.374 GB, free: 68.36 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/8.171, allocations: 107.9 kB / 3.374 GB, free: 68.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/8.171, allocations: 144.2 kB / 3.374 GB, free: 68.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/8.172, allocations: 116.6 kB / 3.374 GB, free: 67.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/8.172, allocations: 0 / 3.374 GB, free: 67.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009771/8.173, allocations: 313.9 kB / 3.374 GB, free: 67.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/8.173, allocations: 11.94 kB / 3.374 GB, free: 67.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/8.173, allocations: 4.062 kB / 3.374 GB, free: 67.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/8.173, allocations: 0 / 3.374 GB, free: 67.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/8.173, allocations: 51.91 kB / 3.374 GB, free: 67.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/8.173, allocations: 0 / 3.374 GB, free: 67.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/8.174, allocations: 43.72 kB / 3.374 GB, free: 67.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/8.174, allocations: 12 kB / 3.374 GB, free: 67.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0002385/8.174, allocations: 151.4 kB / 3.374 GB, free: 67.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/8.174, allocations: 35.56 kB / 3.375 GB, free: 67.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/8.175, allocations: 375.5 kB / 3.375 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/8.175, allocations: 4 kB / 3.375 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/8.175, allocations: 0 / 3.375 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/8.175, allocations: 0 / 3.375 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/8.177, allocations: 0.8689 MB / 3.376 GB, free: 66.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/8.177, allocations: 7.984 kB / 3.376 GB, free: 66.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/8.178, allocations: 47.92 kB / 3.376 GB, free: 65.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/8.178, allocations: 4 kB / 3.376 GB, free: 65.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/8.178, allocations: 11.98 kB / 3.376 GB, free: 65.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/8.178, allocations: 4 kB / 3.376 GB, free: 65.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/8.178, allocations: 4.219 kB / 3.376 GB, free: 65.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/8.18, allocations: 0.6654 MB / 3.376 GB, free: 65.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/8.18, allocations: 144.6 kB / 3.377 GB, free: 65.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/8.18, allocations: 7.984 kB / 3.377 GB, free: 65.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/8.18, allocations: 32.05 kB / 3.377 GB, free: 65.01 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/8.18, allocations: 27.86 kB / 3.377 GB, free: 64.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/8.181, allocations: 8 kB / 3.377 GB, free: 64.97 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002843/8.181, allocations: 223 kB / 3.377 GB, free: 64.76 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/8.181, allocations: 0 / 3.377 GB, free: 64.76 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001191/8.182, allocations: 235.8 kB / 3.377 GB, free: 64.53 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (22): * Single equations (assignments): 22 * 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.004025/8.186, allocations: 2.841 MB / 3.38 GB, free: 61.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009504/8.187, allocations: 259.7 kB / 3.38 GB, free: 61.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/8.187, allocations: 0 / 3.38 GB, free: 61.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/8.187, allocations: 148.3 kB / 3.38 GB, free: 61.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/8.189, allocations: 142.9 kB / 3.38 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/8.191, allocations: 1.495 MB / 3.382 GB, free: 59.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/8.192, allocations: 0.7992 MB / 3.383 GB, free: 58.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005496/8.192, allocations: 90.8 kB / 3.383 GB, free: 58.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/8.192, allocations: 103.4 kB / 3.383 GB, free: 58.47 MB / 0.8855 GB Notification: Performance of SimCode: time 9.41e-07/8.192, allocations: 0 / 3.383 GB, free: 58.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/8.268, allocations: 28.36 MB / 3.411 GB, free: 30.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/8.268, allocations: 218.3 kB / 3.411 GB, free: 30.03 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.918/12.19, allocations: 4 kB / 3.411 GB, free: 30.03 MB / 0.8855 GB