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.0007511/0.0007551, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005116/0.005116, allocations: 170 kB / 16.26 MB, free: 6.613 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 274.4 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9849/0.9849, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 21.39 kB / 0.5987 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1789, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.5329/0.7119, allocations: 180.4 MB / 0.8613 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.7233, allocations: 6.956 MB / 0.8681 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.7245, allocations: 29.69 kB / 0.8681 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.7256, allocations: 337.6 kB / 0.8684 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.7294, allocations: 1.357 MB / 0.8697 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.7324, allocations: 1.055 MB / 0.8708 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.7355, allocations: 2.716 MB / 0.8734 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.7362, allocations: 0.5421 MB / 0.874 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.7377, allocations: 0.7058 MB / 0.8747 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.7388, allocations: 0.603 MB / 0.8752 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.7389, allocations: 30.56 kB / 0.8753 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.7423, allocations: 2.188 MB / 0.8774 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.7426, allocations: 250.2 kB / 0.8776 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.743, allocations: 408.4 kB / 0.878 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.7453, allocations: 1.814 MB / 0.8798 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7453, allocations: 4 kB / 0.8798 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7453, allocations: 0 / 0.8798 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.7453, allocations: 0 / 0.8798 GB, free: 8.402 MB / 0.5919 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.001831/0.7471, allocations: 1.021 MB / 0.8808 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.7472, allocations: 7.594 kB / 0.8808 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.749, allocations: 269.1 kB / 0.8811 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.7499, allocations: 0.5869 MB / 0.8816 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.7499, allocations: 41.31 kB / 0.8817 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-05/0.75, allocations: 56 kB / 0.8817 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.7511, allocations: 0.6362 MB / 0.8824 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.7511, allocations: 7.938 kB / 0.8824 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.7512, allocations: 20 kB / 0.8824 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.7512, allocations: 21.31 kB / 0.8824 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.7521, allocations: 0.529 MB / 0.8829 GB, free: 5.469 MB / 0.5919 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.002827/0.755, allocations: 2.468 MB / 0.8853 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.7556, allocations: 365.9 kB / 0.8857 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.756, allocations: 249.3 kB / 0.8859 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.7565, allocations: 319.6 kB / 0.8862 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.7566, allocations: 38.89 kB / 0.8863 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/0.7566, allocations: 0 / 0.8863 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001324/0.7579, allocations: 0.6262 MB / 0.8869 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.758, allocations: 55.41 kB / 0.8869 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.7585, allocations: 0.4911 MB / 0.8874 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.7586, allocations: 37.7 kB / 0.8874 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.7588, allocations: 320.4 kB / 0.8877 GB, free: 208 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.7589, allocations: 146 kB / 0.8879 GB, free: 60 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.759, allocations: 45.69 kB / 0.8879 GB, free: 8 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.7591, allocations: 366.7 kB / 0.8883 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.7594, allocations: 172.8 kB / 0.8884 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.7599, allocations: 283.4 kB / 0.8887 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.7606, allocations: 468 kB / 0.8892 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7606, allocations: 7.875 kB / 0.8892 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009016/0.7615, allocations: 0.5397 MB / 0.8897 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.7616, allocations: 148.8 kB / 0.8898 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7616, allocations: 4 kB / 0.8898 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.7616, allocations: 7.938 kB / 0.8898 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.7624, allocations: 149 kB / 0.89 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003496/0.7627, allocations: 0.5978 MB / 0.8906 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.7634, allocations: 83.58 kB / 0.8907 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.7635, allocations: 20 kB / 0.8907 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.7635, allocations: 5.875 kB / 0.8907 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007879/0.7643, allocations: 468 kB / 0.8911 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7643, allocations: 3.984 kB / 0.8911 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.7643, allocations: 4 kB / 0.8911 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.7648, allocations: 131.8 kB / 0.8913 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7648, allocations: 12 kB / 0.8913 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.7654, allocations: 83.53 kB / 0.8913 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.7654, allocations: 16.06 kB / 0.8914 GB, free: 12.35 MB / 0.6075 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.0003109/0.7657, allocations: 308.9 kB / 0.8917 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.7658, allocations: 59.34 kB / 0.8917 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009014/0.7667, allocations: 499.9 kB / 0.8922 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.7667, allocations: 7.938 kB / 0.8922 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7668, allocations: 0 / 0.8922 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007988/0.7676, allocations: 0.7183 MB / 0.8929 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.7694, allocations: 1.296 MB / 0.8942 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.7694, allocations: 4 kB / 0.8942 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.7701, allocations: 140 kB / 0.8943 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7701, allocations: 0 / 0.8943 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.7701, allocations: 12 kB / 0.8943 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000269/0.7704, allocations: 0.5976 MB / 0.8949 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7704, allocations: 4.094 kB / 0.8949 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.7716, allocations: 0.8139 MB / 0.8957 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.7718, allocations: 176.4 kB / 0.8959 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.7719, allocations: 12 kB / 0.8959 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.7724, allocations: 61.05 kB / 0.8959 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.7725, allocations: 31.91 kB / 0.896 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.7725, allocations: 19.98 kB / 0.896 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003805/0.7729, allocations: 346.8 kB / 0.8963 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7729, allocations: 0 / 0.8963 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009128/0.7738, allocations: 363.2 kB / 0.8967 GB, free: 6.66 MB / 0.6075 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.0004642/0.7743, allocations: 194.3 kB / 0.8968 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.7758, allocations: 0.6794 MB / 0.8975 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.7758, allocations: 1 kB / 0.8975 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.7762, allocations: 232.4 kB / 0.8977 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.7782, allocations: 373.2 kB / 0.8981 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.7807, allocations: 1.733 MB / 0.8998 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.7812, allocations: 0.9496 MB / 0.9007 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007368/0.782, allocations: 216.9 kB / 0.9009 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.7821, allocations: 55.42 kB / 0.901 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.7822, allocations: 0 / 0.901 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of Templates: time 0.02109/0.8033, allocations: 11.86 MB / 0.9126 GB, free: 6.504 MB / 0.6231 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)