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.001087/0.001087, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001126/0.001126, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 281.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 91.86 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3799, allocations: 86.98 MB / 0.7671 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.1809/0.5608, allocations: 185 MB / 0.9478 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009841/0.5707, allocations: 6.976 MB / 0.9546 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.5721, allocations: 31.81 kB / 0.9546 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.5734, allocations: 413.5 kB / 0.955 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003759/0.5772, allocations: 1.496 MB / 0.9565 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.5803, allocations: 1.181 MB / 0.9576 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3881/0.9684, allocations: 1.944 MB / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.9695, allocations: 0.653 MB / 0.9602 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.9709, allocations: 0.851 MB / 0.961 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.9719, allocations: 0.5964 MB / 0.9616 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.972, allocations: 69.41 kB / 0.9616 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.9753, allocations: 1.937 MB / 0.9635 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.9756, allocations: 295.8 kB / 0.9638 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.976, allocations: 429.1 kB / 0.9642 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.9784, allocations: 1.774 MB / 0.9659 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.9784, allocations: 0 / 0.9659 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9784, allocations: 0.9062 kB / 0.9659 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9784, allocations: 0 / 0.9659 GB, free: 3.375 MB / 0.7169 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.001734/0.9801, allocations: 1.156 MB / 0.9671 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9802, allocations: 9.844 kB / 0.9671 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.9819, allocations: 276.8 kB / 0.9673 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.9828, allocations: 0.6151 MB / 0.9679 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.9829, allocations: 41.88 kB / 0.968 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.983, allocations: 54.72 kB / 0.968 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.9839, allocations: 0.6345 MB / 0.9687 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.984, allocations: 10.06 kB / 0.9687 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.984, allocations: 22.53 kB / 0.9687 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.9841, allocations: 22.42 kB / 0.9687 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.9849, allocations: 0.5234 MB / 0.9692 GB, free: 18.3 MB / 0.7325 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.002491/0.9874, allocations: 2.45 MB / 0.9716 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.9879, allocations: 359.9 kB / 0.972 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.9883, allocations: 238.7 kB / 0.9722 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005229/0.9888, allocations: 308.5 kB / 0.9725 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.9888, allocations: 38.11 kB / 0.9725 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.9888, allocations: 0.7812 kB / 0.9725 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.00115/0.99, allocations: 0.619 MB / 0.9731 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.99, allocations: 56.48 kB / 0.9732 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.9905, allocations: 0.4949 MB / 0.9737 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.9905, allocations: 35.52 kB / 0.9737 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.9907, allocations: 325.7 kB / 0.974 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.9908, allocations: 140.2 kB / 0.9741 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.9909, allocations: 82.97 kB / 0.9742 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.991, allocations: 372.8 kB / 0.9746 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.9913, allocations: 175.7 kB / 0.9747 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.9916, allocations: 281.5 kB / 0.975 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.9922, allocations: 449.4 kB / 0.9754 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9922, allocations: 4 kB / 0.9754 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007475/0.993, allocations: 0.5265 MB / 0.976 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.993, allocations: 6.812 kB / 0.976 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.993, allocations: 2.562 kB / 0.976 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.9931, allocations: 5.156 kB / 0.976 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.9937, allocations: 134 kB / 0.9761 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003313/0.9941, allocations: 0.598 MB / 0.9767 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.9946, allocations: 49.88 kB / 0.9767 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.9946, allocations: 22.84 kB / 0.9768 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004248/0.995, allocations: 346.9 kB / 0.9771 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000319/0.9954, allocations: 283.2 kB / 0.9774 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005807/0.996, allocations: 453.7 kB / 0.9778 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.996, allocations: 0 / 0.9778 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007318/0.9967, allocations: 0.5179 MB / 0.9783 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.9967, allocations: 6.375 kB / 0.9783 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.9967, allocations: 2.812 kB / 0.9783 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.9967, allocations: 9.938 kB / 0.9783 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.9972, allocations: 119 kB / 0.9784 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.9972, allocations: 5.938 kB / 0.9784 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.9977, allocations: 44.91 kB / 0.9785 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.9977, allocations: 19.23 kB / 0.9785 GB, free: 14.54 MB / 0.7325 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.0001402/0.9979, allocations: 213.1 kB / 0.9787 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/0.998, allocations: 64.34 kB / 0.9788 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.9987, allocations: 485.5 kB / 0.9792 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006942/0.9995, allocations: 0.7054 MB / 0.9799 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9995, allocations: 7.531 kB / 0.9799 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.9997, allocations: 173.5 kB / 0.9801 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.9998, allocations: 9.969 kB / 0.9801 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/1, allocations: 18.69 kB / 0.9801 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/1, allocations: 22.22 kB / 0.9801 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001122/1.001, allocations: 0.582 MB / 0.9807 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009665/1.002, allocations: 0.8487 MB / 0.9815 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002653/1.003, allocations: 193.5 kB / 0.9817 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003091/1.003, allocations: 354.7 kB / 0.982 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of Backend: time 3.5e-07/1.003, allocations: 1.062 kB / 0.982 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002427/1.005, allocations: 0.9867 MB / 0.983 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of SimCode: time 0.002681/1.008, allocations: 1.933 MB / 0.9849 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.02511/1.033, allocations: 17.78 MB / 1.002 GB, free: 10.74 MB / 0.7325 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)