Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009815/0.0009813, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0009151/0.0009151, allocations: 172.7 kB / 15.95 MB, free: 208 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.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 273.1 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9749/0.9749, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 20.3 kB / 0.598 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.4493/0.587, allocations: 168.3 MB / 0.8488 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008549/0.5956, allocations: 6.511 MB / 0.8552 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006426/0.5962, allocations: 21.44 kB / 0.8552 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.597, allocations: 270.9 kB / 0.8555 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.5996, allocations: 1.06 MB / 0.8565 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.6017, allocations: 0.8362 MB / 0.8573 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.6039, allocations: 2.294 MB / 0.8596 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.6045, allocations: 496.7 kB / 0.86 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.6057, allocations: 0.687 MB / 0.8607 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000711/0.6064, allocations: 0.5729 MB / 0.8613 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.6065, allocations: 27.56 kB / 0.8613 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.6087, allocations: 1.138 MB / 0.8624 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.609, allocations: 250.9 kB / 0.8626 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.6091, allocations: 175.1 kB / 0.8628 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.6103, allocations: 1.142 MB / 0.8639 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6104, allocations: 0 / 0.8639 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6104, allocations: 0 / 0.8639 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.6104, allocations: 0 / 0.8639 GB, free: 4.559 MB / 0.5762 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.001475/0.6119, allocations: 1.024 MB / 0.8649 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.6119, allocations: 18.8 kB / 0.8649 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.6137, allocations: 278.5 kB / 0.8652 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/0.6145, allocations: 0.5591 MB / 0.8658 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.6145, allocations: 43.23 kB / 0.8658 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.6146, allocations: 53.91 kB / 0.8658 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009911/0.6156, allocations: 0.6381 MB / 0.8665 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.6157, allocations: 0 / 0.8665 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.6157, allocations: 25.12 kB / 0.8665 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.6157, allocations: 17.91 kB / 0.8665 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.6166, allocations: 0.5304 MB / 0.867 GB, free: 2.445 MB / 0.5762 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.002768/0.6194, allocations: 2.451 MB / 0.8694 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.62, allocations: 374.7 kB / 0.8698 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.6204, allocations: 240.6 kB / 0.87 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005424/0.621, allocations: 320.6 kB / 0.8703 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.621, allocations: 43.53 kB / 0.8704 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.621, allocations: 0 / 0.8704 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001259/0.6223, allocations: 0.6285 MB / 0.871 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.6223, allocations: 61.14 kB / 0.871 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.6228, allocations: 0.492 MB / 0.8715 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.6229, allocations: 32.2 kB / 0.8715 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.6231, allocations: 324.5 kB / 0.8718 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.6232, allocations: 140.8 kB / 0.872 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.6233, allocations: 6.906 kB / 0.872 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6234, allocations: 364.6 kB / 0.8723 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.6237, allocations: 173.5 kB / 0.8725 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.6241, allocations: 283.7 kB / 0.8728 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.6245, allocations: 214.3 kB / 0.873 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6245, allocations: 4 kB / 0.873 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008328/0.6253, allocations: 0.5356 MB / 0.8735 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.726e-05/0.6254, allocations: 153.4 kB / 0.8736 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6255, allocations: 2.125 kB / 0.8736 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6255, allocations: 9.859 kB / 0.8737 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.6262, allocations: 148.5 kB / 0.8738 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003473/0.6265, allocations: 0.5926 MB / 0.8744 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.6271, allocations: 83.14 kB / 0.8745 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.6271, allocations: 24.7 kB / 0.8745 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.6272, allocations: 2.812 kB / 0.8745 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007458/0.6279, allocations: 460.5 kB / 0.8749 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6279, allocations: 7.297 kB / 0.8749 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.6279, allocations: 6.969 kB / 0.8749 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.6284, allocations: 130.3 kB / 0.8751 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.6284, allocations: 6.781 kB / 0.8751 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.6289, allocations: 77.77 kB / 0.8751 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.629, allocations: 21.5 kB / 0.8752 GB, free: 12.3 MB / 0.5919 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.0002853/0.6293, allocations: 304.4 kB / 0.8755 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.6294, allocations: 57.88 kB / 0.8755 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008765/0.6302, allocations: 0.4889 MB / 0.876 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6303, allocations: 4 kB / 0.876 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6303, allocations: 0 / 0.876 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007951/0.6311, allocations: 0.7147 MB / 0.8767 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.6329, allocations: 1.3 MB / 0.878 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.633, allocations: 0 / 0.878 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.6336, allocations: 128.1 kB / 0.8781 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.6336, allocations: 8 kB / 0.8781 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.6337, allocations: 15.98 kB / 0.8781 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002879/0.6339, allocations: 0.586 MB / 0.8787 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.634, allocations: 7.953 kB / 0.8787 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6351, allocations: 0.8266 MB / 0.8795 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.6354, allocations: 176.9 kB / 0.8797 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.6354, allocations: 11.94 kB / 0.8797 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.6359, allocations: 53.17 kB / 0.8797 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.636, allocations: 31.91 kB / 0.8798 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.636, allocations: 20.88 kB / 0.8798 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003766/0.6364, allocations: 346.8 kB / 0.8801 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6364, allocations: 0 / 0.8801 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008935/0.6373, allocations: 363.1 kB / 0.8804 GB, free: 6.867 MB / 0.5919 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.0004306/0.6377, allocations: 198.5 kB / 0.8806 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6391, allocations: 0.6763 MB / 0.8813 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6391, allocations: 7.875 kB / 0.8813 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.6395, allocations: 228.8 kB / 0.8815 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6412, allocations: 368.5 kB / 0.8819 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.6436, allocations: 1.736 MB / 0.8836 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.6442, allocations: 0.9496 MB / 0.8845 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007315/0.6449, allocations: 205 kB / 0.8847 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.6451, allocations: 55.42 kB / 0.8847 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6451, allocations: 0 / 0.8847 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of Templates: time 0.01925/0.6643, allocations: 11.52 MB / 0.896 GB, free: 7.078 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)