Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 108 kB / 15.6 MB, free: 132 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.00118/0.00118, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 73.55 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1887/0.5338, allocations: 185 MB / 1.249 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7017/1.236, allocations: 6.965 MB / 1.256 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/1.237, allocations: 31.5 kB / 1.256 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/1.238, allocations: 406.9 kB / 1.256 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004351/1.242, allocations: 1.444 MB / 1.258 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/1.246, allocations: 1.159 MB / 1.259 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002745/1.249, allocations: 1.937 MB / 1.261 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009899/1.25, allocations: 0.6683 MB / 1.261 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/1.251, allocations: 0.8252 MB / 1.262 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/1.252, allocations: 0.5934 MB / 1.263 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/1.253, allocations: 67.31 kB / 1.263 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/1.256, allocations: 1.931 MB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/1.257, allocations: 289.5 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005017/1.257, allocations: 431.4 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/1.26, allocations: 1.745 MB / 1.267 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.26, allocations: 0 / 1.267 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.605e-06/1.26, allocations: 2.453 kB / 1.267 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.26, allocations: 0 / 1.267 GB, free: 5.5 MB / 0.9981 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.002137/1.263, allocations: 1.161 MB / 1.268 GB, free: 20.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/1.263, allocations: 7.219 kB / 1.268 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/1.265, allocations: 273.5 kB / 1.268 GB, free: 20.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/1.265, allocations: 0.5804 MB / 1.269 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/1.266, allocations: 43.72 kB / 1.269 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/1.266, allocations: 55.06 kB / 1.269 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/1.267, allocations: 0.6361 MB / 1.27 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.267, allocations: 0.875 kB / 1.27 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/1.267, allocations: 23.77 kB / 1.27 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/1.267, allocations: 20.45 kB / 1.27 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/1.268, allocations: 0.5247 MB / 1.27 GB, free: 20.41 MB / 1.014 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.003205/1.271, allocations: 2.473 MB / 1.273 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/1.272, allocations: 358.7 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/1.272, allocations: 242.6 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005936/1.273, allocations: 305.5 kB / 1.273 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/1.273, allocations: 39.2 kB / 1.273 GB, free: 18.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 1.793e-06/1.273, allocations: 0 / 1.273 GB, free: 18.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.00142/1.274, allocations: 0.6173 MB / 1.274 GB, free: 18.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/1.274, allocations: 59.72 kB / 1.274 GB, free: 18.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/1.275, allocations: 0.4927 MB / 1.275 GB, free: 18.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/1.275, allocations: 37.42 kB / 1.275 GB, free: 18.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/1.275, allocations: 326.9 kB / 1.275 GB, free: 18.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.275, allocations: 144.8 kB / 1.275 GB, free: 18.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/1.276, allocations: 89.5 kB / 1.275 GB, free: 18.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.276, allocations: 363 kB / 1.276 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/1.276, allocations: 174.7 kB / 1.276 GB, free: 17.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/1.277, allocations: 281.6 kB / 1.276 GB, free: 17.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/1.277, allocations: 452.1 kB / 1.276 GB, free: 17.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.277, allocations: 1.281 kB / 1.276 GB, free: 17.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001002/1.278, allocations: 0.5296 MB / 1.277 GB, free: 17.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.278, allocations: 7.953 kB / 1.277 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.278, allocations: 4.938 kB / 1.277 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/1.278, allocations: 7.562 kB / 1.277 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/1.279, allocations: 131.4 kB / 1.277 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003965/1.28, allocations: 0.5979 MB / 1.278 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/1.28, allocations: 52.03 kB / 1.278 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/1.28, allocations: 18.7 kB / 1.278 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006748/1.281, allocations: 353.3 kB / 1.278 GB, free: 16.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004949/1.282, allocations: 283 kB / 1.278 GB, free: 16.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007308/1.282, allocations: 452.1 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/1.282, allocations: 1.812 kB / 1.279 GB, free: 16.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009261/1.283, allocations: 0.5195 MB / 1.279 GB, free: 16.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.283, allocations: 7.047 kB / 1.279 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.283, allocations: 3.25 kB / 1.279 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/1.283, allocations: 4.875 kB / 1.279 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/1.284, allocations: 121.5 kB / 1.279 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.284, allocations: 6.312 kB / 1.279 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/1.284, allocations: 42.47 kB / 1.279 GB, free: 16.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/1.284, allocations: 18.91 kB / 1.279 GB, free: 16.63 MB / 1.014 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001788/1.285, allocations: 212.4 kB / 1.28 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.285, allocations: 59.84 kB / 1.28 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/1.286, allocations: 486.7 kB / 1.28 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.286, allocations: 6.375 kB / 1.28 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.286, allocations: 0 / 1.28 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008272/1.287, allocations: 0.7028 MB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/1.289, allocations: 1.284 MB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.289, allocations: 2.344 kB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/1.289, allocations: 121.5 kB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.289, allocations: 3.844 kB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/1.29, allocations: 14.22 kB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000369/1.29, allocations: 0.5998 MB / 1.283 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.29, allocations: 1.219 kB / 1.283 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/1.291, allocations: 0.798 MB / 1.284 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/1.292, allocations: 185.7 kB / 1.284 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/1.292, allocations: 11.98 kB / 1.284 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/1.292, allocations: 23.27 kB / 1.284 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/1.292, allocations: 30.67 kB / 1.284 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/1.292, allocations: 13.75 kB / 1.284 GB, free: 14.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000582/1.293, allocations: 353.1 kB / 1.284 GB, free: 14.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 2.594 kB / 1.284 GB, free: 14.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001574/1.294, allocations: 364.5 kB / 1.285 GB, free: 14.46 MB / 1.014 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000659/1.295, allocations: 201.6 kB / 1.285 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001808/1.297, allocations: 0.7207 MB / 1.285 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.297, allocations: 2.094 kB / 1.285 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004498/1.297, allocations: 222.8 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.299, allocations: 362.2 kB / 1.286 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/1.301, allocations: 1.398 MB / 1.287 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/1.302, allocations: 0.9507 MB / 1.288 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007618/1.303, allocations: 208.8 kB / 1.289 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.303, allocations: 51.88 kB / 1.289 GB, free: 13.01 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.303, allocations: 0 / 1.289 GB, free: 13.01 MB / 1.014 GB Notification: Performance of Templates: time 0.02396/1.327, allocations: 12.39 MB / 1.301 GB, free: 12.26 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)