Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",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.001128/0.001127, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001344/0.001344, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.764/2.764, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9819/0.9823, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.225/1.207, allocations: 154 MB / 1.131 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01032/1.218, allocations: 6.513 MB / 1.138 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/1.219, allocations: 27.81 kB / 1.138 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/1.221, allocations: 422.1 kB / 1.138 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004714/1.225, allocations: 1.309 MB / 1.139 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00376/1.229, allocations: 1.037 MB / 1.14 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002517/1.232, allocations: 1.128 MB / 1.141 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008918/1.232, allocations: 0.4924 MB / 1.142 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/1.234, allocations: 0.6113 MB / 1.143 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/1.235, allocations: 386.4 kB / 1.143 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/1.235, allocations: 32 kB / 1.143 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/1.237, allocations: 0.8775 MB / 1.144 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/1.238, allocations: 223.4 kB / 1.144 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/1.238, allocations: 177.3 kB / 1.144 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/1.239, allocations: 1.009 MB / 1.145 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.239, allocations: 0 / 1.145 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.856e-06/1.239, allocations: 4 kB / 1.145 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.239, allocations: 0 / 1.145 GB, free: 13.64 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001924/1.241, allocations: 0.9816 MB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.241, allocations: 11.97 kB / 1.146 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/1.242, allocations: 98.5 kB / 1.146 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/1.244, allocations: 278.8 kB / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.245, allocations: 0.564 MB / 1.147 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/1.245, allocations: 37.31 kB / 1.147 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/1.245, allocations: 60 kB / 1.147 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.246, allocations: 0.6322 MB / 1.148 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.246, allocations: 4 kB / 1.148 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/1.246, allocations: 24 kB / 1.148 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/1.246, allocations: 17.31 kB / 1.148 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/1.247, allocations: 0.5282 MB / 1.148 GB, free: 10.29 MB / 0.9044 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.003526/1.251, allocations: 2.457 MB / 1.151 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/1.252, allocations: 371.5 kB / 1.151 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005235/1.252, allocations: 141.4 kB / 1.151 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.252, allocations: 42.88 kB / 1.151 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 2.655e-06/1.252, allocations: 0 / 1.151 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39): time 0.001454/1.254, allocations: 0.6238 MB / 1.152 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/1.254, allocations: 59.39 kB / 1.152 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/1.254, allocations: 0.4989 MB / 1.152 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/1.255, allocations: 37.64 kB / 1.152 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/1.255, allocations: 324.5 kB / 1.153 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/1.255, allocations: 138 kB / 1.153 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/1.255, allocations: 12 kB / 1.153 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.255, allocations: 362.8 kB / 1.153 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/1.256, allocations: 168.8 kB / 1.153 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/1.256, allocations: 291.3 kB / 1.154 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/1.256, allocations: 215.8 kB / 1.154 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.256, allocations: 4 kB / 1.154 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009317/1.257, allocations: 0.5357 MB / 1.154 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004024/1.258, allocations: 0.8784 MB / 1.155 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.258, allocations: 4 kB / 1.155 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/1.258, allocations: 7.953 kB / 1.155 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/1.259, allocations: 139.8 kB / 1.155 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004236/1.259, allocations: 0.5939 MB / 1.156 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/1.26, allocations: 83.62 kB / 1.156 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/1.26, allocations: 20 kB / 1.156 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/1.26, allocations: 4 kB / 1.156 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007935/1.261, allocations: 459.5 kB / 1.156 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.261, allocations: 4 kB / 1.156 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/1.261, allocations: 4 kB / 1.156 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/1.261, allocations: 128.1 kB / 1.157 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.261, allocations: 11.89 kB / 1.157 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/1.262, allocations: 79.62 kB / 1.157 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/1.262, allocations: 20 kB / 1.157 GB, free: 1.203 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004793/1.262, allocations: 314.5 kB / 1.157 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.262, allocations: 59.25 kB / 1.157 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/1.263, allocations: 498.7 kB / 1.158 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.263, allocations: 8 kB / 1.158 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.263, allocations: 3.953 kB / 1.158 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008189/1.264, allocations: 0.7067 MB / 1.158 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/1.266, allocations: 1.304 MB / 1.16 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.266, allocations: 4 kB / 1.16 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/1.267, allocations: 131.8 kB / 1.16 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/1.267, allocations: 7.938 kB / 1.16 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/1.267, allocations: 16.06 kB / 1.16 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003666/1.267, allocations: 0.586 MB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.267, allocations: 4.031 kB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.269, allocations: 0.9001 MB / 1.161 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/1.269, allocations: 184.3 kB / 1.161 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/1.269, allocations: 12 kB / 1.161 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/1.269, allocations: 51.86 kB / 1.161 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/1.27, allocations: 27.92 kB / 1.161 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/1.27, allocations: 19.98 kB / 1.161 GB, free: 12.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004344/1.27, allocations: 342.8 kB / 1.162 GB, free: 11.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.27, allocations: 0 / 1.162 GB, free: 11.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00102/1.271, allocations: 359.2 kB / 1.162 GB, free: 11.4 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002112/1.273, allocations: 2.031 MB / 1.164 GB, free: 9.305 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001549/1.275, allocations: 0.6835 MB / 1.165 GB, free: 8.621 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.275, allocations: 0 / 1.165 GB, free: 8.621 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.275, allocations: 227.7 kB / 1.165 GB, free: 8.398 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/1.277, allocations: 343.9 kB / 1.165 GB, free: 8.062 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006426/1.283, allocations: 5.175 MB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/1.284, allocations: 0.961 MB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008093/1.285, allocations: 209 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/1.285, allocations: 235.3 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of SimCode: time 1.492e-06/1.285, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/1.322, allocations: 17.5 MB / 1.189 GB, free: 176 kB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/1.322, allocations: 238.2 kB / 1.189 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.764, allocations: 4 kB / 1.189 GB, free: 15.93 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat does not exist to compare? outputFormat=mat