Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00106/0.00106, allocations: 104.8 kB / 16.36 MB, free: 6.309 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.0009936/0.0009937, allocations: 187.4 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.862/1.862, allocations: 292.3 MB / 0.5496 GB, free: 17.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 71.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1871, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5022/0.6894, allocations: 185 MB / 0.9655 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008826/0.6982, allocations: 6.944 MB / 0.9723 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.699, allocations: 31.81 kB / 0.9723 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.7, allocations: 393.5 kB / 0.9727 GB, free: 9.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.703, allocations: 1.451 MB / 0.9741 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.7056, allocations: 1.153 MB / 0.9752 GB, free: 7 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.7076, allocations: 1.937 MB / 0.9771 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007945/0.7084, allocations: 0.646 MB / 0.9777 GB, free: 4.395 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.7097, allocations: 0.8289 MB / 0.9785 GB, free: 3.562 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.7108, allocations: 0.5966 MB / 0.9791 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-05/0.7109, allocations: 68 kB / 0.9792 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.714, allocations: 1.933 MB / 0.9811 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.7143, allocations: 291.3 kB / 0.9814 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.7148, allocations: 430 kB / 0.9818 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.7169, allocations: 1.771 MB / 0.9835 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.7169, allocations: 3.938 kB / 0.9835 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7169, allocations: 0 / 0.9835 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.717, allocations: 0 / 0.9835 GB, free: 14.48 MB / 0.7794 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.001529/0.7185, allocations: 1.152 MB / 0.9846 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.7185, allocations: 8.031 kB / 0.9846 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.7203, allocations: 270.7 kB / 0.9849 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.7212, allocations: 0.6027 MB / 0.9855 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.7213, allocations: 45.31 kB / 0.9855 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.7213, allocations: 52 kB / 0.9856 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.7223, allocations: 0.6439 MB / 0.9862 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.7224, allocations: 3.938 kB / 0.9862 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.7224, allocations: 24 kB / 0.9862 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.7225, allocations: 17.31 kB / 0.9862 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.7234, allocations: 0.5204 MB / 0.9868 GB, free: 11.04 MB / 0.7794 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.002664/0.726, allocations: 2.443 MB / 0.9891 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.7266, allocations: 380.6 kB / 0.9895 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.727, allocations: 236.2 kB / 0.9897 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.7275, allocations: 311.6 kB / 0.99 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.7276, allocations: 39.22 kB / 0.9901 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.7276, allocations: 0 / 0.9901 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.00129/0.7289, allocations: 0.6143 MB / 0.9907 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.7289, allocations: 59.41 kB / 0.9907 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.7294, allocations: 0.4949 MB / 0.9912 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.7295, allocations: 33.69 kB / 0.9912 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.7297, allocations: 324.4 kB / 0.9915 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.7298, allocations: 138.1 kB / 0.9917 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.7299, allocations: 85.61 kB / 0.9918 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7301, allocations: 370.8 kB / 0.9921 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.7304, allocations: 178.5 kB / 0.9923 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.7309, allocations: 276.3 kB / 0.9925 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/0.7316, allocations: 461.6 kB / 0.993 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.7316, allocations: 4 kB / 0.993 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009709/0.7326, allocations: 0.5203 MB / 0.9935 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7327, allocations: 4 kB / 0.9935 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.7327, allocations: 4 kB / 0.9935 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.7327, allocations: 4 kB / 0.9935 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/0.7335, allocations: 131.8 kB / 0.9936 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004059/0.7339, allocations: 0.5977 MB / 0.9942 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.7345, allocations: 52.2 kB / 0.9943 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.7345, allocations: 19.98 kB / 0.9943 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005411/0.7351, allocations: 348.9 kB / 0.9946 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004052/0.7355, allocations: 296.3 kB / 0.9949 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006706/0.7362, allocations: 445.3 kB / 0.9953 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.674e-06/0.7362, allocations: 0 / 0.9953 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008443/0.737, allocations: 0.5278 MB / 0.9958 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-06/0.7371, allocations: 8 kB / 0.9959 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7371, allocations: 7.938 kB / 0.9959 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.7371, allocations: 5.25 kB / 0.9959 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.7377, allocations: 120.1 kB / 0.996 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.7377, allocations: 9.484 kB / 0.996 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.7382, allocations: 35.67 kB / 0.996 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.7383, allocations: 23.98 kB / 0.996 GB, free: 1.008 MB / 0.7794 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.000144/0.7384, allocations: 208.1 kB / 0.9962 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.7385, allocations: 59.28 kB / 0.9963 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/0.7394, allocations: 481 kB / 0.9968 GB, free: 272 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007738/0.7402, allocations: 0.7042 MB / 0.9974 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7402, allocations: 4 kB / 0.9974 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.7404, allocations: 180.2 kB / 0.9976 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.7405, allocations: 8 kB / 0.9976 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.7409, allocations: 23.98 kB / 0.9977 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.741, allocations: 19.97 kB / 0.9977 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001251/0.7422, allocations: 0.5677 MB / 0.9982 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001158/0.7434, allocations: 0.8698 MB / 0.9991 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00031/0.7437, allocations: 195.9 kB / 0.9993 GB, free: 13.57 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003578/0.7441, allocations: 346.8 kB / 0.9996 GB, free: 13.23 MB / 0.795 GB Notification: Performance of Backend: time 3.61e-07/0.7441, allocations: 0 / 0.9996 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002473/0.7466, allocations: 0.9826 MB / 1.001 GB, free: 12.26 MB / 0.795 GB Notification: Performance of SimCode: time 0.002829/0.7494, allocations: 1.929 MB / 1.002 GB, free: 10.32 MB / 0.795 GB Notification: Performance of Templates: time 0.03573/0.7852, allocations: 17.67 MB / 1.02 GB, free: 8.91 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)