Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 252 MB / 267.3 MB, free: 10.84 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.001441/0.001441, allocations: 182.5 kB / 327 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.578 GB, free: 20.39 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.0008298/0.0008298, allocations: 96.67 kB / 0.6826 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 13.19 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 106.3 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.8202/1.093, allocations: 165.1 MB / 1.062 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008943/1.102, allocations: 7.168 MB / 1.069 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008244/1.103, allocations: 13 kB / 1.069 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006509/1.104, allocations: 136.7 kB / 1.069 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/1.108, allocations: 1.185 MB / 1.07 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/1.11, allocations: 0.5789 MB / 1.071 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002026/1.112, allocations: 1.079 MB / 1.072 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/1.113, allocations: 251.8 kB / 1.072 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/1.115, allocations: 0.5296 MB / 1.073 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.117, allocations: 430.8 kB / 1.073 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.558e-05/1.117, allocations: 16.66 kB / 1.073 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005086/1.122, allocations: 1.472 MB / 1.075 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/1.123, allocations: 110 kB / 1.075 GB, free: 1.715 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005701/1.123, allocations: 198.2 kB / 1.075 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004272/1.128, allocations: 0.9847 MB / 1.076 GB, free: 1.637 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.128, allocations: 4.641 kB / 1.076 GB, free: 1.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.128, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.128, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.698 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.001985/1.13, allocations: 0.6466 MB / 1.077 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.234e-05/1.13, allocations: 9.922 kB / 1.077 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/1.13, allocations: 65.77 kB / 1.077 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.131, allocations: 129.1 kB / 1.077 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/1.132, allocations: 333.4 kB / 1.077 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/1.132, allocations: 49.8 kB / 1.077 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/1.132, allocations: 32.86 kB / 1.077 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.133, allocations: 334 kB / 1.078 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.134, allocations: 4.719 kB / 1.078 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/1.134, allocations: 9.562 kB / 1.078 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/1.134, allocations: 6.75 kB / 1.078 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/1.135, allocations: 300.2 kB / 1.078 GB, free: 16.76 MB / 0.7136 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.002509/1.137, allocations: 1.116 MB / 1.079 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/1.138, allocations: 284.9 kB / 1.079 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/1.138, allocations: 146.8 kB / 1.079 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/1.139, allocations: 0.5143 MB / 1.08 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/1.139, allocations: 36.31 kB / 1.08 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 3.687e-06/1.139, allocations: 0 / 1.08 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.001316/1.141, allocations: 445.8 kB / 1.08 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/1.141, allocations: 57.59 kB / 1.08 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/1.141, allocations: 305.4 kB / 1.081 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/1.141, allocations: 30.95 kB / 1.081 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.142, allocations: 174.4 kB / 1.081 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/1.142, allocations: 76.28 kB / 1.081 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/1.142, allocations: 5.031 kB / 1.081 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.142, allocations: 338.6 kB / 1.081 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/1.142, allocations: 108.3 kB / 1.081 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/1.142, allocations: 148.6 kB / 1.081 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/1.143, allocations: 262.8 kB / 1.082 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.143, allocations: 0 / 1.082 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006949/1.144, allocations: 327.1 kB / 1.082 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.144, allocations: 9.094 kB / 1.082 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.144, allocations: 5.172 kB / 1.082 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.144, allocations: 1.094 kB / 1.082 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/1.144, allocations: 51.94 kB / 1.082 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.144, allocations: 8.453 kB / 1.082 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/1.144, allocations: 39.98 kB / 1.082 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/1.144, allocations: 9.906 kB / 1.082 GB, free: 14.84 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/1.145, allocations: 152.1 kB / 1.082 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.145, allocations: 34.84 kB / 1.082 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008518/1.146, allocations: 379.7 kB / 1.083 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.146, allocations: 6.75 kB / 1.083 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.146, allocations: 0 / 1.083 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/1.146, allocations: 1.266 kB / 1.083 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/1.147, allocations: 0.9001 MB / 1.084 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.147, allocations: 4.125 kB / 1.084 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/1.147, allocations: 45.91 kB / 1.084 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.147, allocations: 4.438 kB / 1.084 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/1.147, allocations: 5.719 kB / 1.084 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.147, allocations: 3.969 kB / 1.084 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.147, allocations: 4.094 kB / 1.084 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.149, allocations: 0.6208 MB / 1.084 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/1.149, allocations: 147.5 kB / 1.084 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/1.149, allocations: 4.094 kB / 1.084 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/1.149, allocations: 31.08 kB / 1.084 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/1.149, allocations: 23.78 kB / 1.084 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/1.149, allocations: 16.31 kB / 1.084 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002484/1.149, allocations: 219.2 kB / 1.085 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/1.149, allocations: 0 / 1.085 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007404/1.15, allocations: 132.8 kB / 1.085 GB, free: 13.84 MB / 0.7136 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 (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.001921/1.152, allocations: 1.29 MB / 1.086 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005826/1.153, allocations: 268.1 kB / 1.086 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.153, allocations: 5.125 kB / 1.086 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/1.153, allocations: 148 kB / 1.086 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/1.154, allocations: 166.7 kB / 1.087 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/1.159, allocations: 3.461 MB / 1.09 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/1.159, allocations: 0.795 MB / 1.091 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004039/1.16, allocations: 81.16 kB / 1.091 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/1.16, allocations: 106.8 kB / 1.091 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/1.16, allocations: 0 / 1.091 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/1.183, allocations: 10.27 MB / 1.101 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.184, allocations: 244.8 kB / 1.101 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.722, allocations: 4 kB / 1.101 GB, free: 9.508 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)